To deploy a component to the service container, perform
the following tasks:
Include project files.
Create an Component Manager Client API object.
Retrieve the component JAR file.
Install the component.
Start the component.
Include project files
Include necessary files into your development
project. If you are creating a client application by using Java,
include the necessary JAR files. If you are using web services,
make sure that you include the proxy files.
Create an ComponentRegistry Client API object
Before you can
programmatically perform an component manager service operation,
you must create a ComponentRegistryClient object.
Retrieve the component JAR file
To programmatically deploy a component,
reference the component JAR file. When you reference the JAR file,
create a com.adobe.idp.Document object that stores
the JAR file.
Install the component
To deploy a component, first install it.
When installed, the component is in a stopped state.
Start the component
Start a component to invoke its services.
After the component is started, its services can be started. (See
.)