Book Image

Building Applications with Scala

By : Diego Pacheco
Book Image

Building Applications with Scala

By: Diego Pacheco

Overview of this book

<p>Scala is known for incorporating both object-oriented and functional programming into a concise and extremely powerful package. However, creating an app in Scala can get a little tricky because of the complexity the language has. This book will help you dive straight into app development by creating a real, reactive, and functional application. We will provide you with practical examples and instructions using a hands-on approach that will give you a firm grounding in reactive functional principles.</p> <p>The book will take you through all the fundamentals of app development within Scala as you build an application piece by piece. We’ve made sure to incorporate everything you need from setting up to building reports and scaling architecture. This book also covers the most useful tools available in the Scala ecosystem, such as Slick, Play, and Akka, and a whole lot more. It will help you unlock the secrets of building your own up-to-date Scala application while maximizing performance and scalability.</p>
Table of Contents (17 chapters)
Building Applications with Scala
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface

JasperReports workflow


JasperReports has the same execution stages, including compiling your reports and rendering in a specific format, for example, HTML. The first stage is the report design. If you are not using the Jaspersoft Studio visual tool, we assume that you have your JRXML file. The next step is to compile JRXML into a Jasper file. This compilation phase doesn't need to happen every time; it's needed only if you change the JRXML. Otherwise, you can use the same Jasper file. There are some strategies to cache the Jasper file, so basically you can do it on the build time or you can cache on demand in the application. For our application, we will be using the second approach--caching on demand in the application.

The next phase is to render or export. You can export the report to the many formats Jasper supports, such as HTML, EXCEL, or PDF, for instance. It's possible to use the same report layout and export to as many formats as you like. For our application, we will be using the...