Deploying a company using the Java APIs
To deploy a company, you can use the Java™ APIs to export your company data model from a source instance of IBM® Product Master and import it into a target instance.
Before you begin
- Ensure that a company is designed, and the data model exists.
- Ensure that a target instance of Product Master exists as the target of your company deployment.
- Ensure that you create a system backup of the target instance before you start the import if you deploy a company between multiple production instances of Product Master.
- Ensure that your Product Master is
configured for the deployment process. To configure the Product Master,
you must:
- Ensure that you have the following memory configuration for the
scheduler service in the
.bashrc
file:export SCHEDULER_MEMORY_FLAG="-Xmx1024m -Xms48m"
- Ensure that a compressed file of 200 MB or larger can be deployed into the target instance.
- Ensure that you have the following browser timeout setting in
the
common.properties
file:max_inactive_interval=36000
- Ensure that you have the following memory configuration for the
scheduler service in the
Procedure
Write your code to use the Java APIs
provided for this feature.
See IBM® Javadoc Documentation to view all
the available information about the parameters, returns, exceptions,
and syntax for the deployment of a company.