Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse and EAR projects

 
Mark Binau
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been using WSAD for a short while in my day job and I really like it. At the office we deploy .ear files to our WAS environment.

Just for fun (on my own dime) I have also barely started to look at Eclipse and using it with Tomcat as the application server. Does the concept of an J2EE Enterprise Application (ear) project exist in Eclipse/Tomcat? In WSAD I can select New/Project/J2EE/Enterprise Application Project. In Eclipse, I don't have J2EE as a choice. Is there a plugin for this functionality?

In WSAD the GUI interface for the EAR (application) Deployment Descriptor allowed me to specify a utility project where I could keep classes that were common to multiple projects. Does this functionality exist for Eclipse?

Carlos, if I had read your book would I already know the answers to these questions?


Thanks,
Mark
 
Jeff Pierce
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are doing servlet development from Eclipse, you should get a plug-in such as the Sysdeo Eclipse Tomcat Launcher plugin, which is what I use. This allows you to create .war files, debug servlets,... Keep in mind Tomcat is only a servlet engine, not a full blown J2EE stack.
 
Carlos Valcarcel
author
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Binau:
I have been using WSAD for a short while in my day job and I really like it. At the office we deploy .ear files to our WAS environment.

Just for fun (on my own dime) I have also barely started to look at Eclipse and using it with Tomcat as the application server. Does the concept of an J2EE Enterprise Application (ear) project exist in Eclipse/Tomcat? In WSAD I can select New/Project/J2EE/Enterprise Application Project. In Eclipse, I don't have J2EE as a choice. Is there a plugin for this functionality?

In WSAD the GUI interface for the EAR (application) Deployment Descriptor allowed me to specify a utility project where I could keep classes that were common to multiple projects. Does this functionality exist for Eclipse?

Carlos, if I had read your book would I already know the answers to these questions?


Thanks,
Mark


If you want to do J2EE development you will be best served by looking at plug-ins like MyEclipse, Sysdeo Tomcat, Lomboz and the WebTools project. Out-of-the-box Eclipse only does plain Java development. You could always execute Ant from within Eclipse to create the various things you need, but a plug-in will be more convenient.

Carlos
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Ant in Eclipse to create an ear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic