• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to EAR  RSS feed

 
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.
 
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???
 
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.
 
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,
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!