uCosminexus Application Server, Web Service Development Guide

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

9.3.5 Creating EAR files

Use the jar command to create EAR files containing the files created until now.

The following is an example of creating an EAR file:

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

If the jar command is terminated successfully, dispatch_provider.ear is created in the c:\temp\jaxws\works\dispatch_provider\server\ directory.

For the jar command, see the JDK documentation.