uCosminexus Application Server, Web Service Development Guide

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

35.3.8 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\wsrm\server\
> jar cvf wsrm.war .\WEB-INF
> jar cvf wsrm.ear .\wsrm.war .\META-INF\application.xml

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

For the jar command, see the JDK documentation.