uCosminexus Application Server, Web Service Development Guide

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

4.3.7 Creating EAR files

Use the jar command to create an EAR file.

The following is an example for creating an EAR file:

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

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

For the jar command, see the JDK documentation.