Reporting Using Java

How to create a report in Java? Something like Crystal Reports in .net.

+7
source share
5 answers

We have a Jasper Report .

JasperReports is the most popular open source reporting engine in the world. It is fully written in Java and is able to use data from any data source and create pixel-perfect documents that can be viewed, printed or exported in various document formats, including HTML, PDF, Excel, OpenOffice and Word.

  • Here is a quick tutorial

+7
source

Perhaps this is a duplicate of this question , BTW ...

In any case, here my honest (but biased) answer copied from there:

i-net Clear Reports (used for i-net Crystal-Clear)

  • Simple and easy to use API for both the reporting engine and the Java viewer .
  • It can be exported to any large format, such as PDF, HTML, SVG, XLS, etc., as well as to the Java applet viewer. (See samples )
  • Comes with a free and powerful graphical report template designer. (See video tutorial )
  • It is installed as a WAR file on your application server or can be used as a library in your own application.
  • Great technical support (usually you get a response within a few minutes or hours, not days or weeks).
  • Charts based on JFreeChart (also includes stock charts).
  • Can read Crystal Reports templates. (for many clients, this is a killer feature, since you do not need to recreate all the old Crystal Reports templates)
  • Great and competitive price - effective costing less than open source . "
  • A free 90-day trial version of the server component.
  • Free and fully functional report designer .

[full disclosure: Yes, I work for i-net software. But this is my honest (albeit subjective and biased) answer to the question .;)]

+4
source

Try iRepor / JasperReports . I think this is your best option to date.

It is quite mature, constantly updated (active), supports StandAlone / Swing applications, web applications, you can export to Excel / PDF and integrate easily with the main Appilcation servers.

JasperReports is the reporting engine, and iReport is its IDE (visual report editor).

+3
source

BIRT is a very popular and powerful tool. Featured.

+1
source

A Jasper report is a really powerful tool, but sometimes you have to work hard to create a report.

I would also recommend looking at POI and Docx4j . Using these, you can add a template with headers and an entreprise style. You can create a file using simple operators, but with Docx4j you can also replace tags (templating) in your .docx file with a selection element.

The docx4j (ava) documentation is available here: https://www.docx4java.org/forums/

0
source

All Articles