Just a quick example I gleaned off the Sys-Con site that uses the Apache FOP Project. It reads some data from a database and then creates Output formats currently supported include PDF, PCL, PS, SVG, XML (area tree representation), Print, AWT, MIF and TXT. The primary output target is PDF.
In the zip you'll find:
1) three jars (in my case I'm running CFMX 7 as JRun multiple instances, so I dropped the files here on my server: C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib
2) files for the example app
3) mySQL database (for this example)
4) Don't forget to restart CFMX after you copy the jar files to the lib folder.
Demo |