uCosminexus Application Server, Web Service Development Guide

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

6.3.5 Creating EAR files

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

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

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

For the jar command, see the JDK documentation.