This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I used TomCat when I first started dealing with server based apps. I switched to WebSphere because of the ease of installing. Back in the day I had to physically access the server and load it. WAS was the first server that I saw that allowed you to install remotely from your own desk top. Since then I haven't kept up with TomCat's capability - I do know that the price is much better than WebSphere ;-) - but everything I have read is that it is a viable stable platform. I still show the java code generated for JSPs by TomCat because I have never been able to find it in WAS (I can find the .class file but not the .java file).
I hope I answered you question and if not let me know.
Joined: May 13, 2009
Hi Bob ,
For the last few versions of Tomcat at least 5 onward,there has been an admin console.
You have to configure a manger-gui role and a user of that role in the Tomcat configuration file.
You access it via browser. You then log in via the web interface.
It's basic. You can start ,stop the server and deploy applications.
There are a lot of situations where you don't want to deploy your source code(java files) with the war file.
In terms of WebSphere,I was wondering about things like does it work better in a multi server environment and session management between requests?
Joined: Nov 26, 2013
Re: deploying source. I make a point in the book that deploying source is a security concern.
My issue is that I can't find any RAD JSP generated servlet source code. It's a minor quibble of mine but when I try to impress newbies with the advantages of JSPs, a look at the generated servlet code goes a long way.
Everything I read about WAS is that it's built to Enterprise scope. I just haven't kept up on the TomCat technology to speak about the advs/disadvs. I know of smaller apps that run on TomCat and people are very happy with it but really can't speak about it for Enterprise apps.
Joined: May 13, 2009
I've worked at a place that used Tomcat for an enterprise solution and it seemed to hold up well but the server set up was pretty simple.
This was why I was curious about WebSphere because I know it widely used .
The jsp servlet generated source would be an annoying issue. I had similar issues with NetBeans about where things were.
It seems that IBM recently understood that full Java EE stack server is not a proper solution for all business needs, so they started promoting new extremely lightweight product, implementing Java EE Web Profile -- WAS Liberty Profile.