uCosminexus Application Server, Web Service Development Guide

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

7.3.5 Creating an EAR file

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

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

If the jar command is terminated successfully, annotations_dynamic_generate.ear is created under the c:\temp\jaxws\works\annotations\server\ directory.

For the jar command, see the JDK documentation.