ICEfaces PDF Viewer Application utilizes the ICEfaces framework and ICEpdf core to rendering PDF documents in a Rich Web application. ICEfaces 1.8 or greater is needed to compile this example.
Update the Apache Ant build.properties variable common.build.file to point to the location of build- common.xml located in the [install_dir]/icefaces/samples/etc/ directory. The common ICEfaces build script is very flexible having build targets for most major Servlet containers.
The PDF rendering is controlled by the Servlet org.icepdf.examples.jsf.viewer.servlet.PdfRenderer and all of the document controls and UI features are implemented in JSF using the ICEfaces framework.
The source code for the example is located in the [install_dir]/icepdf/examples/icefaces/ directory.