This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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.
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").