Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 18th, 2005, 10:03 AM
Authorized User
Join Date: Jul 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to make a ear file?

I have some files in following directory:

The structure of web archieves files 'jsps.war' is follows:

I have a another files,like follows;

application.xml is following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>

I know I can use follows commands to make a jar file:
jar cvf ejbs.jar *.jsp /WEB-INF/*.*

But I don't know how to make a war file and then make a ear file?Which command I can use?

Thanks in advance!

Similar Threads
Thread Thread Starter Forum Replies Last Post
redeploy ear file mohitsingal Java Databases 0 September 1st, 2006 08:00 AM
Exception while installing EAR in WebSphere Rameshkulasekaran J2EE 0 May 26th, 2006 03:29 AM
Using the framework code/ear in Eclipse gvimalku BOOK: Expert One-on-One J2EE Design and Development 2 November 5th, 2005 05:09 AM
Using an ear file to view source code amerwaip J2EE 1 July 21st, 2005 11:05 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.