Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Question on Jasper Cookbook

Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bilal

I am new to developing reports in Jasper, I understand the overview of Jasper Reports, will your book be helpful for users like me also?
One more question I have is - does it teach practices to follow to keep UI separate from data during report development?

Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Varun for your question.

This book is basically a compilation of what I and my colleagues learned and discovered about JasperReports while doing several ERP and BPM projects during the last few years. So the book is meant for anyone who is trying to design real world reports, such as the following:

  • Reports that combine multiple types of reports
  • Summary reports, graphs, and cross tabs
  • Multi-column and multi-page reports
  • Reports that use standard templates or specific look and feel
  • Reports that combine data from different types of datasources (such as relational and XML data)
  • Reports that require mathematical expressions to evaluate specific conditions
  • Etc.

  • So if you have an overview of JasperReports and want to solve a real world problem, I hope this book will be useful.

    Regarding your second question about keeping UI separate from data, this separation is inherent in the JRXML concept. All jasper reports use JRXML for the basic design of the report. The JRXML does not depend on the actual application data. Instead the JRXML code relies on its own data fields and the data fields are connected to the application data.

    This means data fields in the JRXML code act as a data sandwich between the application data and the UI (JRXML design). This allows you to design a report using fields connected to a relational database, for example. Later you can connect the same fields to an XML file or a set of JavaBeans and the same JRXML design will work for you. For example, you can try one recipe from the book (available on Packt’s Web site -, which demonstrates how you can connect your existing JRXML design to the application data contained in JavaBeans.

    JasperReports also allows you to use standard UI templates. This means you can design several reports with similar UI look and feel. This book demonstrates the use of UI templates.
    Varun Chopra
    Ranch Hand
    Posts: 213
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks for detailed reply Bilal.
    Catch Ernie! Catch the egg! And catch this tiny ad too:
    Java file APIs (DOC, XLS, PDF, and many more)
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!