Java API クイックスタートの概要 introducing-java-api-quickstart
Adobe AEM Forms API クイックスタートは、AEM Forms サービスとやり取りするプログラムの開発に向けた取り組みを加速するのに役立ちます。クイックスタート は、独自のプロジェクトにコピーして貼り付け、出発点として使用できる完全なプログラムです。クイックスタートを実行して、動作を確認し、独自のニーズに合わせて変更できます。
AEM Forms の操作は、AEM Forms の厳密に型指定された API を使用して実行できます。接続モードは、SOAP に設定する必要があります。
Java の厳密に型指定された API クイックスタートには、Java アプリケーションの実行に必要な JAR ファイルのリストが表示されます。ほとんどの Java クイックスタートは、main
内で実行されるコンソールアプリケーションです。ただし、Forms Java の厳密に型指定された API クイックスタートは、web アプリケーション内で実行する Java サーブレットとして実装されます。
JAR ファイルのリストは、クイックスタートの先頭にあるコメントセクションにあります。例えば、次のコメントは Output クイックスタートにあり、各 Java クイックスタートにある一般的な JAR ファイルリストです。
/*
* This Java Quick Start uses the SOAP mode and contains the following JAR files
* in the class path:
* 1. adobe-output-client.jar
* 2. adobe--client.jar
* 3. adobe-usermanager-client.jar
*
* These JAR files are located in the following path:
* <install directory>/Adobe/Adobe_Experience_Manager_forms/SDK/client-libs/common
*
* The adobe-utilities.jar file is located in the following path:
* <install directory>/Adobe/Adobe_Experience_Manager_forms/SDK/client-libs/jboss
*
* The jboss-client.jar file is located in the following path:
* <install directory>/Adobe/Adobe_Experience_Manager_forms/jboss/bin/client
*
* If you want to invoke a remote AEM Forms instance and there is a
* firewall between the client application and AEM Forms, 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_Experience_Manager_forms/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 AEM Forms
*
* For complete details about the location of the AEM Forms JAR files,
* see "Including AEM Forms library files" in Programming
* with AEM Forms
*/
複数のサービスのクイックスタート multiple-services-quick-start
AEM Forms を使用したプログラミング にあるほとんどのクイックスタートは、ある1 つのサービスを呼び出すことで操作を実行します。ただし、一部のクイックスタートでは、複数の AEM Forms サービスを呼び出すことで特定のワークフローを実行します。次のリストは、複数の AEM Forms サービスを呼び出す Java クイックスタートを示しています。
クイックスタート(SOAP モード):Java API を使用して、AEM Forms リポジトリ内のドキュメントを Output サービスに渡します (Repository サービスと Output サービスを呼び出します)
クイックスタート(SOAP モード):Java API を使用して、フラグメントに基づく PDF ドキュメントを作成します (Assembler サービスと Output サービスを呼び出します)
クイックスタート(SOAP モード):Java API を使用して、送信済み XML データで PDFドキュメントを作成します(Forms サービス、Output サービス、Document Management サービスを呼び出します)
クイックスタート(SOAP モード):Java API を使用して、Forms サービスにドキュメントを渡します(Forms サービスと Document Management サービスを呼び出します)
クイックスタート(SOAP モード):Java API を使用して、XFA ベースのフォームにデジタル署名をします(Forms サービスと Signature サービスを呼び出します)
クイックスタート(SOAP モード):Java API を使用して、役割と権限を管理します (DirectoryManager サービスと AuthorizationManager サービスを呼び出します)。
クイックスタート(SOAP モード):Java API を使用して、Output サービスにドキュメントを渡します (Output サービスと Document Management サービスを呼び出します)