*Note: this is currently a work in progress.* This guide describes how to build ESME and deploy it to the SAP NetWeaver Composition Environment (aka "CE"), which is SAP's Java EE 5-compliant application server and integration platform. h3. 1. Build ESME from the latest code drop h3. 2. Convert the esme.war into a deployable element On your CE installation, there are [scripts|http://help.sap.com/saphelp_nwce71/helpdata/en/46/1bd4293d034f08e10000000a114a6b/content.htm] to do such actions D:\usr\sap\CE1\J00\j2ee\deployment\scripts>make_SDA esme.war \-pr esme.propertiesContents of esme.properties file {noformat} softwaretype=single-module subtype=war context-root=/esme vendor=esme.apache.org location=Deployment Manager counter=1 {noformat} h3. 3. Deploy h4. 3.1. via the Netweaver Developer Studio Deploy the war file created in step 2 via the Deplyoment Perspective in NWDS. h4. 3.2 via telnet you can also deploy using telnet ([http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae10000000a11466f/content.htm|http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0ad8e787652d6ae10000000a11466f/content.htm]): h4. 3.3 via script D:\usr\sap\CE1\J00\j2ee\deployment\scripts> deploy administrator:abcd1234@localhost:50004 esme.war h3. Tips h5. Using container-based autnetication You must also change the web.xml file {noformat} esme javax.sql.DataSource Container {noformat} You also have to of course create a data source and the necessary JDBC drivers to the CE environment. Here are two blogs with details on how to do this: * [Creating JDBC Data sources using NWA for different Databases in CE|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12141] * [Connecting an Application to an External Database in SAP NW CE 7.1|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8675] If you are using derby as your DB to perform tests, the following info is useful: * DB driver class: _org.apache.derby.jdbc.EmbeddedDriver_ * URL: _jdbc:derby:esme_db;create=true_ * JAR_: derby-10.5.1.1.jar\_