Message-ID: <1817262375.1043.1432438020493.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1042_545060690.1432438020493" ------=_Part_1042_545060690.1432438020493 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
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 using the Java API. The default port is 8080. Ple=
ase note that the
methods wait until the container is fully started and fully stopped=
before continuing. Thus, for any action you are executing after, you are a=
ssured the container is completely operational.
Static deployment means that the D= eployable is deployed before the container is started. Here's an exampl= e using the strongly typed Java API:An error occurred: http://svn.code= haus.org/cargo/core/trunk/documentation/src/main/java/org/codehaus/cargo/do= cumentation/Snippets.java. The system administrator has been notified.=20
Here's the same example using the generic untyped API (which we recommen= d as it leads to more generic code):An error occurred: http://svn.code= haus.org/cargo/core/trunk/documentation/src/main/java/org/codehaus/cargo/do= cumentation/Snippets.java. The system administrator has been notified.=20
Hot deployment means that = the Deployable is deployed after the container is started.An error occ= urred: http://svn.codehaus.org/cargo/core/trunk/documentation/src/main/java= /org/codehaus/cargo/documentation/Snippets.java. The system administrator h= as been notified.=20
For a detailed documentation on how to use Cargo for executing functiona= l tests on a container, directly from your Java unit test classes (JUnit, T= estNG, etc), read our Functio= nal testing page.