Deployment Repository

The deployment framework also supports the concept of a deployment repository. Modules that are going to be deployed are placed in the repository where the Server can obtain instances of the Modules to deploy.

Using the repository allows the separation of deployment into two distinct phases:

  • Providing the Module to the Server (for example, by sending them to a location known to the server).
  • Actual deployment

Deployment repositories only handle the first phase of deployment (providing the Module).

Deployment Policy

The deployment framework also handles the deployment policy.

Modules are stored in the Eclipse workspace, which means that they can have the following deployment policies:

  • Deploy on request - the Module is only deployed (or redeployed) when the user explicitly chooses to do so.
  • Deploy on save - the Module is deployed (or redeployed) whenever the Package is saved.