uCosminexus Application Server, Web Service Development Guide

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

29.3.5 Creating EAR files

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

The following is an example of the creation of an EAR file:

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

If the processing ends normally, attachments_dynamic_generate.ear is created in c:\temp\jaxws\works\attachments\server\directory.

For details about the jar command, see the JDK documentation.