uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

31.3.5 Creating EAR files

Use the jar command to create EAR files.

The following is an example for creating an EAR file:

> cd c:\temp\jaxws\works\mtom\server\
> jar cvf mtom_dynamic_generate.war .\WEB-INF
> jar cvf mtom_dynamic_generate.ear .\mtom_dynamic_generate.war .\META-INF\application.xml

On successful termination of the jar command, wsrm.ear is created in the c:\temp\jaxws\works\mtom_dynamic_generate\server\directory.

For the jar command, see the JDK documentation.