Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

The following examples demonstrate how to configure Resin 3.0.15 to start in target/resin3x and deploy a WAR located in path/to/simple.war. The default port is 8080. Please note that the container.start() and container.stop() methods wait until the container is fully started and fully stopped before continuing. Thus, for any action you are executing after, you are assured the container is completely operational.

Static deployment

Static deployment means that the Deployable is deployed before the container is started. Here's an example using the strongly typed Java API:

An error occurred: http://svn.codehaus.org/*checkout*/cargo/trunk/documentation/src/main/java/org/codehaus/cargo/documentation/Snippets.java?root=cargo. The system administrator has been notified.

Here's the same example using the generic untyped API (which we recommend as it leads to more generic code):

An error occurred: http://svn.codehaus.org/*checkout*/cargo/trunk/documentation/src/main/java/org/codehaus/cargo/documentation/Snippets.java?root=cargo. The system administrator has been notified.

Hot deployment

Hot deployment means that the Deployable is deployed after the container is started.

An error occurred: http://svn.codehaus.org/*checkout*/cargo/trunk/documentation/src/main/java/org/codehaus/cargo/documentation/Snippets.java?root=cargo. The system administrator has been notified.
  • No labels