h2. Preqs.
* Functional build environment for Apache ESME including maven, current source code etc.
* Account on Stax.net
* [Stax SDK|http://wiki.stax.net/w/index.php/SDK] must be installed locally
* An application on the stax cloud must already exist
h2. Steps
h5. web.xml
Add the following text to your file
{code}
esme
javax.sql.DataSource
Container
{code}
h5. stax-web.xml
Create a file in your webapp\WEB-INF directory. The contents of the file looks like this
{code}
{code}
The information for database is available in the Stax Console for your DB
h5. Build Apache ESME
use _mvn clean install_
h5.
h5. Deploy on Stax
# Start the "Stax Console.bat" command (on windows)
# In this console use the app:deploy command to deploy the application:
*Example:* stax app:deploy \-a esme/esmecloudperf \-m 2010_01_04 \-u \[StaxUser\]-p \[StaxPassword\] D:\\apache\esme\\server\target\esme-server-0.3.0-SNAPSHOT.war