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.
JNDI name | Reference name | |
---|---|---|
Java EE 7 | eis\MFCobol_v1.5 | CCIMFCobol_v1.5 |
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/application.xml jar -xvf JMapServ.jar META-INF/ibm-ejb-jar-bnd.xml jar -xvf JMapServ.war WEB-INF/ibm-web-bnd.xml jar -xvf JMapServ.war WEB-INF/web.xml
For WebLogic, a weblogic-application.xml file is not required.
Descriptor | Directory |
---|---|
application*.xml | my-ear-dir\meta-inf |
*ejb-jar*.xml | my-jar-dir\meta-inf |
*web*.xml | my-war-dir\web-inf |
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