You can create deployment descriptors using the administration tool provided by your Java application server. Alternatively, you can generate a sample descriptor using the Interface Mapping Toolkit and edit the sample. You need to specify the following information in the deployment descriptor:
Among other things, the deployment descriptors specify the following connection information, and you must not change this.
To create deployment descriptors from dummy ones:
The descriptors are packaged in the myService.ear file in the folder repos/myService.deploy. The following descriptors are generated:
jar -xvf JMapServ-WS.ear JMapServ.jar JMapServ.war jar -xvf JMapServ-WS.ear META-INF/ibm-application-bnd.xmi jar -xvf JMapServ-WS.ear META-INF/ibm-application-ext.xmi jar -xvf JMapServ.jar META-INF/ibm-ejb-jar-bnd.xmi jar -xvf JMapServ.jar META-INF/ibm-ejb-jar-ext.xmi jar -xvf JMapServ.war WEB-INF/ibm-ejb-web-bnd.xmi jar -xvf JMapServ.war WEB-INF/ibm-ejb-web-ext.xmi
For WebLogic, a weblogic-application.xml file is not required.
jar -uvf myService.ear META-INF/myAppServer-application.xml jar -uvf myService.jar META-INF/myAppServer-ejb-jar.xml jar -uvf myService.war WEB-INF/myAppServer-web.xml
jar -uvf myService.ear myService.jar myService.war
Note that deployment descriptors are automatically created for the supported application servers that are listed in Servers > Settings on the EJB Generation tab in the Application server field.