Adobe® LiveCycle® ES2 (Enterprise Suite) API Quick Starts can help you accelerate your efforts to develop programs that interact with LiveCycle ES2.5 services. Quick Starts are complete programs that you can copy and paste into your own projects and use as a starting point. You can run a Quick Start to see how it behaves and modify it for your own needs.
LiveCycle ES2.5 operations are organized into the following Quick Start categories:
Each Java strongly-typed API Quick Start provides a listing of JAR files that are required to execute the Java application. Most Java Quick Starts are console application that run within main. However, the Forms Quick Starts are implemented as Java servlets that run within a web application.
The JAR file listing is located in a comment section located at the beginning of the Quick Start. For example, the following comment is located in an Output quick start and is a typical JAR file listing found in each Java Quick Start.
/* * This Java Quick Start uses the EJB mode and contains the following JAR files * in the class path: * 1. adobe-output-client.jar * 2. adobe-livecycle-client.jar * 3. adobe-usermanager-client.jar * 4. adobe-utilities.jar * 5. jbossall-client.jar (use a different JAR file if LiveCycle ES2.5 is not deployed * on JBoss) * * These JAR files are located in the following path: * <install directory>/Adobe/Adobe LiveCycle ES2.5/LiveCycle_ES_SDK/client-libs/common * * The adobe-utilities.jar file is located in the following path: * <install directory>/Adobe/Adobe LiveCycle ES2.5/LiveCycle_ES_SDK/client-libs/jboss * * The jbossall-client.jar file is located in the following path: * <install directory>/Adobe/Adobe LiveCycle ES2.5/jboss/client * * If you want to invoke a remote LiveCycle ES2.5 instance and there is a * firewall between the client application and LiveCycle ES2.5, then it is * recommended that you use the SOAP mode. When using the SOAP mode, * you have to include additional JAR files located in the following * path * <install directory>/Adobe/Adobe LiveCycle ES2.5/LiveCycle_ES_SDK/client-libs/thirdparty * * For information about the SOAP * mode and the additional JAR files that need to be included, * see "Setting connection properties" in Programming * with LiveCycle ES2.5 * * For complete details about the location of the LiveCycle ES2.5 JAR files, * see "Including LiveCycle ES2.5 library files" in Programming * with LiveCycle ES2.5 */
Most Quick Starts located in Programming with LiveCycle ES2.5 invoke a specific service in order to perform an operation. However, some Quick Starts invoke multiple LiveCycle ES2.5 services in order to perform a given workflow. The following list provides Java quick starts that invoke more than one LiveCycle ES2.5 service:
Quick Start (EJB mode): Passing a document located in the LiveCycle Repository to the Output service using the Java API (invokes the Repository and Output service)
Quick Start (EJB mode): Creating a PDF document based on fragments using the Java API (invokes the Assembler and Output service)
Quick Start (EJB mode): Creating PDF Documents with submitted XML data using the Java API (invokes the Forms, Output, and Document Management service)
Quick Start (EJB mode): Passing documents to the Forms Service using the Java API (invokes the Forms and Document Management service)
Quick Start (EJB mode): Digitally signing a XFA-based Form using the Java API (invokes the Forms and Signature service)
Quick Start (EJB mode): Managing roles and permissions using the Java API (invokes the DirectoryManager and the AuthorizationManager service )
Quick Start (EJB mode): Passing documents to the Output Service using the Java API (invoke the Output and Document Management service)