Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 18th, 2005, 10:03 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
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:
main.jsp
WEB-INF/
   web.xml
   weblogic.xml
   classes/
      factory/
         order.class
         ......
         model.class

I have a another files,like follows;
META-INF/
   application.xml

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'>
<application>
  <display-name></display-name>
  <module>
    <ejb>ejbs.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>jsps.war</web-uri>
      <context-root>factory</context-root>
    </web>
  </module>
</application>

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!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:18 PM.


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