• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Report Generator

 
Ranch Hand
Posts: 43
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey i am looking forward to make a report generation software for windows in java but i  am confused regarding the use of tools like JASPER ,BIRT etc? Can Java SE ,jdbc and Javafx is not sufficient for building  such type of software  ?
 
Saloon Keeper
Posts: 5802
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, specifically, are you confused about?

Jasper -along with associated tools like iReport- is very powerful - what would your tool do that Jasper doesn't?
 
Shubham Rai
Ranch Hand
Posts: 43
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well my confusion is that if i can write my own code then what is the need of these tools? What are pro and cons of using these?
 
Tim Moores
Saloon Keeper
Posts: 5802
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That you don't have to write the code yourself. It would be a lot of work to replicate what Jasper does.
 
Saloon Keeper
Posts: 21120
131
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Programs like Jasper (or Crystal Reports) are known as Report Writers. A Report Writer is an application whose domain is limited to reports, so the domain language is not required to be as flexible as a general programming language must be. In fact, it's better that it isn't.

Most report writers work using a declarative language, rather than a procedural language. Declarative languages don't have looping capabilities. You state what is to be done, not how to do it. Because there's only a limited number of statements, it's much easier to automatically validate the report definition than it would be if you coded the report as a program. Now a report writer almost always does look over the data set being reported, but that loop is built into the report writer, not coded by the report designer. In short, there's virtually no debugging required when using a report writer. The "debugging" is almost all about where to put stuff and what calculations are done, not if/then/else or do/while.

Often there's a GUI designer associated with the report writer. This makes it easier to design in a what-you-see-is-what-you-get mode, and it makes it easier for people without any training in software design and coding to layout reports. The GUI then saves the design as a file or something similar. One report writer I use a lot uses XML. Editing XML directly on a large and complex report design can be a real pain so the GUI allows me to do it using the DDD approach (drag, drop, drool).

 
Sheriff
Posts: 6259
167
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaFX has charts built-in, but not full-blown reporting.  You can read about charts in JavaFX here.
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!