This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!