File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes FOP vs RTF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "FOP vs RTF" Watch "FOP vs RTF" New topic


Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2373

I a project, I need to show some charts and tables through a JSP page and give the user option to export that page's content as a PDF file, RTF document (so that users can edit them using MS Word) and only the statistical data to an XLS file. For creating charts in JSP pages, I am going for cewolf. I have worked with FOP earlier and explored iText in its beta version for PDF generation. For PDF and RTF generation, I can either use FOP with JFor or use iText. I find iText as a better choice as this one tool is providing me consistent API to create both the output formats.

Do you think there are better alternatives?

Ashik Uzzaman
Senior Software Engineer, TubeMogul, Emeryville, CA, USA.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I'd probably prefer iText over FOP because of its relative simplicity -- that is, assuming that iText supports all the required features of XSL-FO.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: FOP vs RTF
It's not a secret anymore!