It's not a secret anymore!
The moose likes IDEs, Version Control and other tools and the fly likes Generating deployable war from Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Generating deployable war from Eclipse" Watch "Generating deployable war from Eclipse" New topic

Generating deployable war from Eclipse

Salman Raut

Joined: Mar 31, 2009
Posts: 15
Hi Ranchers,

I am venturing developing web applications. Eclipse is my primary IDE.

Now here is the problem:
I want to develop web applications (in Java) in Eclipse and run them from eclipse.
If I use the Tomcat server internally in Eclipse, the web application runs for sure in the IDE. But if I make the war of the application and try to deploy it on an independent Tomcat server it fails miserably. This happened to me in Netbeans. I had worked hard to make a web application that was working awesome through Netbeans. But when I made the war and deployed it in external Tomcat, it failed big time. The reason being Netbeans had added several dependencies which external Tomcat would not recognize.

One solution is develop the application in the IDE but deploy it on external Tomcat server. But during development, it is very painful to deploy manually after doing small changes.

Is there any plug-in that can be used to solve this problem?

In short this is what I want:
I want to develop and test applications in Eclipse IDE. At the same time, I want to be sure that when I make a war of the app running fine in Eclipse and deploy it on external Tomcat, it should run fine.

Any suggestions, tutorials are welcome.

Thanks for your time and consideration.

Best Regards

Best Regards
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Check out the sysdeo plugin.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Salman Raut

Joined: Mar 31, 2009
Posts: 15
Hi Maneesh,

Thanks for telling about Sysdeo.

The following is a better step by step tutorial for installing sysdeo.

Best Regards
Joseph Arceneaux

Joined: May 01, 2009
Posts: 5
Eclipse 3.4 (Ganymede) appears to have native Tomcat support (configure, stop, start server). Is sysdeo really superior?

Secondly, is there a good tutorial for the proper way to create, build, and deploy an Eclipse project to Tomcat? I've seen several, and none seem to agree with others ("Create Project" v. "Create Dynamic Web Application").

thanks in advance,

I agree. Here's the link:
subject: Generating deployable war from Eclipse
It's not a secret anymore!