This project has retired. For details please refer to its Attic page.
Apache ESME - Stax

Stax

Preqs.

Steps

web.xml

Add the following text to your file

<resource-ref>
<res-ref-name>esme</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>

stax-web.xml

Create a file in your webappWEB-INF directory. The contents of the file looks like this

<stax-web-app>
 <resource name="esme" auth="Container" type="javax.sql.DataSource">
  <param name="username" value="[Username for DB]" />
  <param name="password" value="[Password for DB]" />
  <param name="url" value="jdbc:stax://[DB name]" />
 </resource>
</stax-web-app>

The information for database is available in the Stax Console for your DB

Build Apache ESME

use mvn clean install

Deploy on Stax
  1. Start the "Stax Console.bat" command (on windows)
  2. In this console use the app:deploy command to deploy the application: