Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it mandatory to get sysdeo tomcat plugin in eclipse?

 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Can you ppl let me know if it's indeed necessary to put the sysdeo tomcat plugin in eclipse to run a web project? Because in latest versions of eclipse(Ganymede/Galelio) we can any way configure a new server on which we wish to run our application, that could be Jboss, websphere or tomcat. Setting up a tomcat server like this do also ask for the same configuration details like setting the version , tomcat home and the context declaration. I don't believe that just for the sake of three icons to be embedded in the IDE and getting an extra option of "tomcat project" under the wizards tree we install this plug-in. How different is the tomcat project from web project(static/dynamic)?Please enlighten me with your views and comments on this.

Regards,
Abhijeet
 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please throw some light on this. It's kinda holding back certain proceedings.

Thanks in advance....
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither using any particular plugin, nor actually using Eclipse itself, is required to run a server. In fact, an IDE is only involved in the development/debug process, not during actual deployment and production use.
 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks bro! I got what exactly you are trying to say but what I want to know is if one is developing a web application using eclipse IDE and wish to run it from the IDE itself on tomcat server then how far is it necessary to put that sysdeo plug-in in place? What diiference does it make if one simply configures the tomcat server in eclipse by just creating a new server from the file->new->others->..... option. (provided tomcat already exists in the system)....
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you download the JEE version of Ganymede it comes with the WTP plugin installed.

WTP has the ability to launch and control an external Tomcat instance directly without the need for the sysdeo plugin.

Allegedly.

Actually, the WTP Tomcat interface is horrible. I loathe and despise it. It's rude, un-co-operative, doesn't faithfully represent the defined Tomcat runtime environment and is just a general pain all around. It also does things to its copy of the Tomcat server file that have been denigrated since the long-defunct Tomcat 4 first went into operation. I attempted to use it for a while, gave up and did things the hard way using a brute-force remote debugging connection to an externally-launched Tomcat, then finally managed to get the sysdeo plugin working with Ganymede.

I'm a much more pleasant person since I did that.
 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Tim, but guess I'm still not getting a clear answer to my raised question... couldn't get couple of lines of yours
"also does things to its copy of the Tomcat server file that have been denigrated since the long-defunct Tomcat 4 first went into operation. I attempted to use it for a while, gave up and did things the hard way using a brute-force remote debugging connection to an externally-launched Tomcat,"
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sysdeo runs using your original CATALINA_BASE files (conf directory and so forth). WTP copies selected files from your CATALINA_HOME and makes a new internal CATALINA_BASE inside a "server" project it creates. It doesn't copy ALL the files, which has cause me much grief. Additionally, instead of preserving application contexts, it's fond of modifying its copy of server.xml, which is something that's been discourage for a long while. Allegedly, if you override certain defaults you can prevent that, but it shouldn't be default behaviour in this day and age.

Tomcat, like most J2EE appservers, is a Java Application. Like any other Java Application, it can be started with its internal debugger switched on. Eclipse can then debug it (and its webapps) using the Remote Debugging facility. That is, in fact, what happens when you run WTP or sysdeo, except that they make the necessary connections and setting for you, as well as starting and stopping the server for you. In the end, it's simply a question of who has to do all the grunt work, and I'd prefer it to be the computer, since I have work enough already. However, during the time when I'd given up on WTP and hadn't had any success getting sysdeo running, I had no choice.
 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. thanks for the elaboration Tim. Makes sense now. But now I have started wandering whether I should get sysdeo plug-in or shall go with the in built WTP.... :P
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's up to you. Maybe you won't hate WTP as much as I do. Sysdeo has been a good friend to me for years, so I prefer it. But I also do things that tend to stretch the capabilities of systems, and the Sysdeo version doesn't limit me to what it assumes I want to do.
 
Abhijeet Mohanty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hehehe!! ... K will see.... neways thanks a lot for all your patience in replying to my queries...
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhijeet Mohanty wrote: K .... neways

Abhijeet please UseRealWords on javaranch...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic