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.
The moose likes Websphere and the fly likes Beginning Java With Websphere - use cases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Beginning Java With Websphere - use cases" Watch "Beginning Java With Websphere - use cases" New topic
Author

Beginning Java With Websphere - use cases

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 174
Hi Bob ,

Most of the java jobs I've had have used Tomcat as a Web Server. What scenarios are better suited to using WebSphere that Tomcat can't handle?
thanks,
Paul
Robert Janson
Author
Greenhorn

Joined: Nov 26, 2013
Posts: 12
    
    5
Hi Paul,
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.
paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 174
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?

Thanks,
Paul
Robert Janson
Author
Greenhorn

Joined: Nov 26, 2013
Posts: 12
    
    5
Hi Paul,
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.
paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 174
Hi,

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.

Cheers,
Paul
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3213
    
    6
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.


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Robert Janson
Author
Greenhorn

Joined: Nov 26, 2013
Posts: 12
    
    5
Probably a smart idea. How is the pricing? (Hard to compete with free ;-))
 
 
subject: Beginning Java With Websphere - use cases