Java Report Generation - Rent a coder

rangaleclickΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 7 μήνες)

69 εμφανίσεις

Reading/Writing/Rendering PDFs


iText:



* iText is a library that allows you to generate PDF/RTF files on the fly

* Can serve pdf/rtf to a browser

* Generate dynamic documents from XML files or databases

* Supports reading and copying data from existi
ng pdfs.

* Actively Developed ( July 2009 )


Flying Saucer:


* With well formed xml and css, this library can be used to render and generate pdf

* malformed/legacy html can be pre processed using JTidy and TagSoup to convert to
wellformed xhtml

* uses iT
ext internally for pdf output

* Actively Developed ( July 2009 )


ICEpdf:



* PDF rendering, viewing and data extraction library

* More tuned to use in desktop apps.

* Certain parts are proprietary(font engine)

* Actively developed ( May 2009 )


pdf r
enderer:



* Java lib which renders PDF documents to the screen using Java2D

* can be used to render PDFs to PNGs in a server
-
side web application


Apache FOP:



* XSL
-
FO (XSL Formatting objects) is a powerful, flexible XML vocabulary for converting
XML/H
TML to pdf.

* XSLT is used to transform xml to XSL
-
FO

* an FO processor(Apache FOP) can then generate pdf/ps/png from the XSL
-
FO

* can be used on the web (servlet support)


J
asper reports:


* It


is a powerful open source reporting tool that has the ab
ility to deliver rich content onto
the screen, to the printer, or into PDF, HTML, XLS, RTF, ODT, CSV, TXT and XML files

* Internally uses iText( for pdf), JExcel/Jakarta POI for XLS, JFreeChart for Charts, etc

* report design is stored in JRXML file

* J
RXML file is compiled into a JasperReport , to which different sets of data can be filled
into generate reports in various formats

* The data can be retrieved from defined data sources such as JDBCm Java Beans, XML,
Hibernate and Comma Separated Values.

* Can be used in desktop and web applications

* Actively developed ( July 2009 )



Reading/Writing Microsoft File Formats:




Apache POI:



*java api that supports reading/writing xls/xlsx, doc/docx, ppt/pptx

*Actively developed ( June 2009 )


JXLS:



* can be used to generate custom and complex Excel reports with rich formatting and
enhanced functionality.

* uses POI internally

* user creates an


XLS template file with required formatting, formulas, macros etc using
specific notation to indicate plac
ement of data. jXLS engine can then be invoked by passing
XLS template and the exported data as parameters.

*Actively developed ( April 2009 )


Jasper Reports:





Scratchpad:



Birt:

http://www.eclip
se.org/birt/phoenix/




misc:

http://java
-
source.net/open
-
source/pdf
-
libraries

http://stackoverflow.com/questions/1063650/java
-
pdf
-
generation
-
framework


xml to pdf :

http://stackoverflow.com/questions/212577/how
-
do
-
you
-
create
-
a
-
pdf
-
from
-
xml
-
in
-
java


http:
//www.jfree.org/jfreechart/