The directory "examples" located under "DynamicPDF_~/ceTeSoftware" of the installation package contains pre-coded examples which will help you to understand how to create PDF documents using DynamicPDF™ Generator for Java and DynamicPDF™ Merger for Java. Please note that DynamicPDF™ Merger for Java is built on top of, and includes DynamicPDF™ Generator for Java. There are six kinds of examples:
Merger
The merger examples are located under "DynamicPDF_~/ceTeSoftware/examples/Merger" directory.
- Java source code
- Gives examples that show how to efficiently import, merge, form-fill and stamp existing PDF documents using a Java console application. There are plenty of examples in this section that cover the different features of the product and their usage.
- Servlets
- Gives examples that show how to efficiently import, merge, form-fill and stamp existing PDF documents using Servlets.
- JSP
- Gives an example of how to merge multiple PDF Documents from a JSP.
Generator
The generator examples are located under "DynamicPDF_~/ceTeSoftware/examples/Generator" directory.
- Java source code
- Gives examples that show how to create PDF Documents using a Java console application. There are plenty of examples in this section that cover the different features of the product and their usage.
- Servlets
- Gives examples that show how to create PDF Documents using Servlets.
- JSP
- Gives an example of how to create a PDF Document from a JSP.
Files beneath the "DynamicPDF_~/ceTeSoftware/examples/Merger" and "DynamicPDF_~/ceTeSoftware/examples/Generator" folders may be dependent on other files and folders in the directory, so if you move them the examples may no longer work.

