uCosminexus Application Server, Web Service Development Guide

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

33.3.5 Creating EAR files

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

The following is an example for creating an EAR file:

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

If the jar command is terminated successfully, streaming_dynamic_generate.ear is created in the c:\temp\jaxws\works\addressing\server\ directory. For details about the jar command, see the JDK documentation.