Take a survey

Developing Applications Using APIs > Working with Components > Deploying Components > Deploying components using the Java API

Deploying components using the Java API
To deploy a component by using the Java API, perform the following steps:
1.
Include client JAR files, such as adobe-workflow-client-sdk.jar, in your Java project’s class path. (See Including LiveCycle ES library files.)
2.
Create a ServiceClientFactory object that contains connection properties. (See Setting connection properties.)
Create a ComponentRegistryClient object by using its constructor and passing a ServiceClientFactory object that contains connection properties.
3.
Create a java.io.FileInputStream object that represents the component JAR file by using its constructor and passing a string value that specifies the location of the JAR file.
Create a com.adobe.idp.Document object by using its constructor and passing the java.io.FileInputStream object.
4.
Install the component by invoking the ComponentRegistryClient object’s install method and passing the com.adobe.idp.Document object that contains the component. This method returns a com.adobe.idp.dsc.registry.infomodel.Component object that represents the component that exists in a stopped state.
5.
Start the component by invoking the ComponentRegistryClient object’s start method and passing the com.adobe.idp.dsc.registry.infomodel.Component object that represents the component that exists in a stopped state.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/deployComponents.143.3.html