uCosminexus Application Server, Web Service Development Guide

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

5.3.6 Creating EAR files

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

The following is an example for creating an EAR file:

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

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

For the jar command, see the JDK documentation.