uCosminexus Application Server, Web Service Development Guide

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

8.3.5 Creating EAR files

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

The following is an example of creating an EAR file:

> cd c:\temp\jaxws\works\statelessjava\server\
> jar cvf statelessjava_dynamic_generate.jar -C jar com
> jar cvf statelessjava_dynamic_generate.ear .\statelessjava_dynamic_generate.jar .\META-INF\application.xml

On successful termination of the jar command, statelessjava_dynamic_generate.ear is created in the c:\temp\jaxws\works\statelessjava\server\ directory. For the jar command, see the JDK documentation.