JClass ServerReport Demos and Examples


Welcome to the JClass ServerReport Demos and Examples.

Environment Tests JClass Environment Tests. They are prerequisites to JClass samples. Make sure that your can run these tests before running JClass samples.

Basic Servlet Examples:

Basic Sample Servlet PDF RTF Demonstrates the use of JClass ServerReport in a servlet. Note that the watermarks will not appear in the RTF version.
Brochure Example PDF Demonstrates creating an online Brochure. Requires ServerChart as well, to view properly.
Polar Bears Example PDF Demonstrates creating a report about polar bears with draft watermarks.
Euro Example PDF RTF Demonstrates including the Euro symbol in a servlet.
Font Example PDF RTF Demonstrates the use of user-provided fonts in a servlet.
Underline Example PDF RTF Demonstrates underlining text in a ServerReport document in a servlet.
JCPageTable Example PDF RTF Demonstrates adding a JCPageTable to a ServerReport document in a servlet.
JCPageTable Borders Example PDF RTF Demonstrates customizing JCPageTable borders in a ServerReport document via a servlet.
JCFlowTable Example PDF RTF Demonstrates adding a JCFlowTable to a ServerReport document in a servlet.
Greeting Card Example PDF Demonstrates the use of frame rotations to create a simple greeting card.
Chart Example PDF RTF Demonstrates adding a JCServerChart to a ServerReport document in a servlet. Requires JClass ServerChart to run.
Overflow Example PDF Demonstrates using Overflow Rules to handle large images.
Frame Border Example PDF RTF Demonstrates using frame borders in a ServerReport document in a servlet.
PDF Encryption Example PDF Demonstrates usage of PDF Encryption feature.

XML Servlet Examples:

XML TextStyle Example PDF RTF Demonstrates loading text styles from an XML file in a servlet.
XML DrawStyle Example PDF RTF Demonstrates loading draw styles from an XML file in a servlet.
XML Page Template Example
("Simple" Page Template)
PDF RTF Demonstrates loading page templates from an XML file in a servlet. The page template is specified using the "Simple" format, which allows both PDF and RTF output.
XML Page Template Example
("Full" Page Template)
PDF Demonstrates loading page templates from an XML file in a servlet. The page template is specified using the "Full" format, which supports only PDF output.
XML TableStyle Example PDF RTF Demonstrates loading table styles from an XML file in a servlet.
XML Document Example PDF RTF Demonstrates loading an entire document from an XML file in a servlet. Includes hyperlinks and (in PDF) bookmarks that point to sections of the resulting document. Page templates are specified using the "Simple" format, which allows for both PDF and RTF output.
XML External Java Example PDF RTF Demonstrates using the external-java-code tag in a servlet.

Tutorials:

XML Tutorial Demonstrates how to use XML in a series of simple steps.

Servlet Demos:

Phone Bill Demo Simulates an online account inquiry for a phone company. Shows how xsl transformation can be used to take vanilla xml, and change it into CSV, HTML, ServerReport XML or ServerChart XML format. Requires an xsl library to run (i.e. xalan.jar) in the appserver classpath. If your appserver does not include such a library, xalan.jar is available in the JAXP1.1 winter pack from Sun(http://java.sun.com), or directly from http://xml.apache.org.
Invoice Demo Come shopping at My Classics, and see your invoice output in PDF or RTF.
Stock Report Demo PDF RTF See a stock portfolio analyzed with text, tables and charts. Note: the JClass ServerChart product is required to be able to see the charts, although the demo will run regardless.
Catalog Demo:
  Retail Version
  Corporate Version

PDF
PDF
Generate two different types of catalogs based on the same data source. Includes hyperlinks in table of contents and bookmarks that point to sections of the resulting document.
Sales Report Demo Generate a customized sales report with configurable tables and columns.


Copyright© 2007 Quest Software Inc.