ceTe Software Help Library for Java August - 2020
DynamicPDF Merger for Java / Getting Started / Examples
In This Topic
    Examples
    In This Topic

    The directory "examples" located under "DynamicPDF_ForJava10~/ceTeSoftware" of the installation package contains pre-coded examples which will help you 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 the "DynamicPDF_ForJava10~/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_ForJava10~/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_ForJava10~/ceTeSoftware/examples/Merger" and "DynamicPDF_ForJava10~/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.