RealObjects PDFreactor offers a modular and open architecture, is based on the latest W3C standards and written in 100% Java. The comprehensive Java API allows the easy integration into Servlets, EJB and Web Services. Wrapper-APIs for scripting languages such as PHP, .NET, Perl, Python and Ruby as well as a Comand Lince Interface are also available, see also the integration manual which is available in PDF and HTML format.
The typical integration scenario for PDFreactor is:
Server-side PDF creation Using PDFreactor as part of larger host applications (e.g. ERP, database, e-Commerce) on a Java Web application server in order to print or stream PDF documents - generated from XML or HTML source - over the Web.
What is the simplest way to integrate PDFreactor using the Java API?
PDFreactor can be integrated with just these few lines of Java code:
InputSource inputSource = new InputSource("http://www.realobjects.com/");
OutputStream outputStream = new FileOutputStream("realobjects.pdf");
PDFreactor pdfReactor = new PDFreactor();
// configuration settings
pdfReactor.setAddLinks(true);
pdfReactor.setAddBookmarks(true);
// render the PDF document
pdfReactor.renderDocument(inputSource, outputStream);
See also the chapter Introducing the Java lib in the PDFreactor Manual.