Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to EAR  RSS feed

 
Carlos A. Perez
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:

Im looking for a tutorial (or article) about how to generate an .ear.
Does someone knows about a good one??

Thanks.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An EAR file is basically a jar file that contains your ejb's, war's and an xml deployment descriptor.

The following link may help.

http://java.sun.com/j2ee/1.4/docs/tutorial-update2/doc/Overview5.html#wp84705
 
Carlos A. Perez
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
I have another question:
Is it correct to have a .jar that contains .class (no one is an ejb) inside an EAR???
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carlos,

if you haven't used ant before, now would a great time to learn it.
In particular, ant has tasks for doing jars, wars, ears.

http://ant.apache.org/manual/
http://ant.apache.org/manual/CoreTasks/ear.html

And of course, Javaranch's ant forum for asking general ant questions.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Is it correct to have a .jar that contains .class (no one is an ejb) inside an EAR?"

Yes, your EAR may contain class collections in jar files.
Un saludo,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!