Java Reporting Framework - export to Excel, PDF and email

Report Structure:

I have a data source (JSON / XML API) that provides me with all the necessary data. I just need to fill it in different tables and then export to various formats like PDF, Excel, etc. In some template format, then send messages to users. This should happen periodically in the background (according to the cron job)

I found Jasper and BIRT as good solutions. But only for exporting data to various formats with templates, are they good solutions? Are there any other easier solutions than them? I also tried the Apache POI, but, given the free availability of various exporting libraries, should I work with all the manual work myself?

The template function is important, and other functions, such as mailing, are all optional if the structure is lightweight, flexible, and easy to use.

Please advice.

thank

+5
source share
4 answers

If you are looking for alternatives, this is the one not mentioned above.

Docx4j ( http://www.docx4java.org/trac/docx4j ) is open source, available under the Apache license (v2). Docx4j is heavily dependent on JAXB, the JCP standard for Java-XML bindings. You can think of docx4j as a JAXB implementation.

What can you do with docx4j

  • Open existing docx (from file system, SMB / CIFS, WebDAV using VFS), pptx, xlsx
  • Create a new docx , pptx, xlsx
  • ()
  • docx4j ( pptx4j, xlsx4j):
  • ; CustomXML
  • / Word 2007 xmlPackage (pkg)
  • docx docx (, zipped) JCR ()
  • ,
  • HTML PDF
  • Diff/compare documents, paragraph sdt ( )
  • ( , )

Java Mail . http://www.javatpoint.com/example-of-sending-attachment-with-email-using-java-mail-api

+4

Jasper - SQL XML ( , JSON), , , Jasper Server , , , , PDF ( ) .

+3

we use art: http://art.sourceforge.net/ . I think that he knows everything that you need, and this is an active project, so if you add a new function, you can add a query for it.

+2
source

All Articles