DefinitionJSR88-compliant containers support
Cargo supports JSR 88: J2EE Application Deployment API, allowing it to be used with any JSR88-compliant container.
The core functionality is implemented by the
o.c.c.container.spi.deployer.AbstractJsr88Deployer class (a Deployer implementation), which acts as a proxy to the JSR88 DeploymentManager.
The Glassfish 3.x and Glassfish 4.x remote containers use the JSR-88 API. For the connection to succeed, the following JARs need to be in the container classpath or in the current Java Thread's context classloader:
- deployment-client.jar and its dependencies - for Glassfish 3.x, these seem to be:
Here is an example code for the users of the Java API:
Here is an example Maven2 plugin configuration: