ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Dynamically Creating PDFs in a Web Application
Subject:   FOP
Date:   2003-06-20 02:29:33
From:   anonymous2
Response to: FOP

There is some experimental XML2PDF functionality in iText, but if you need to generate PDF from XML, I guess you're better of with FOP.
On the FOP-site, they recommend iText as post-processor to merge, encrypt,... FOP generated PDF files.
If you are generating PDF from code, you should use iText instead of FOP because it's much easier and you need less code. For instance: you have a database table you access with JDBC and you want to put everything in a PDF, RTF or HTML report simultaneously. (I don't think FOP generates RTF, but I'm not 100% sure about this.)
Also if you have written code for a java.awt.Graphic2D object already, you can reuse that code to paint directly to a PDF page.


These are only some of the differences...


1 to 1 of 1
  1. FOP
    2004-02-04 06:32:50  kercadio [View]

1 to 1 of 1