This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes weblogic vs. tomcat vs. websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic vs. tomcat vs. websphere" Watch "weblogic vs. tomcat vs. websphere" New topic
Author

weblogic vs. tomcat vs. websphere

Daniil Sosonkin
Ranch Hand

Joined: Jan 15, 2004
Posts: 76
Hello,

I don't really know where to turn with this and google didn't help much either. The problem is this. We are planning to port our trading platform from ASP/DLL to Java. I'm asked to choose which application server is to be used. My experience lies in Tomcat/Apache land. But my superiors worry whether Tomcat will be able to handle the load with adequate speed and stability. Personally, I'm not afraid of putting Tomcat to the job since I've seen similar company using PHP and they are doing just fine. But I'm just curious, what do other servers provide? How easy is it to manage them? How easy it is to develop application in them? Is it possible to load balance them.

The requirements are as follows - SSL support, multiple domain support, connection pooling to MS SQL, Linux as OS. I don't care much for EJB standard support as I don't really understand them and all my previous sites were done using regular Java classes w/ some JSP tags.

My current setup is to use Apache for static stuff and SSL management with Tomcat 4 or 5 connected via mod_jk. The servers will balance loaded using LVS. The whole setup allows for virtual hosts thus multiple clients.

But I'm wondering if other application server going to be able to provide better service at reasonable costs (meaning I doubt we'd give 10-50K for an app server).

Another thing, I keep reading that Tomcat can handle around and about of 10-15 connections a second. Is that valid or not? After doing 'ab' it reports as 99% of all connections to be failed - which just doesn't make sense to me.

Any help will be greatly appreciated,

Thank you
Ben Corless
Greenhorn

Joined: Mar 22, 2005
Posts: 1
Originally posted by Daniil Sosonkin:
Hello,

I don't really know where to turn with this and google didn't help much either. The problem is this. We are planning to port our trading platform from ASP/DLL to Java. I'm asked to choose which application server is to be used. My experience lies in Tomcat/Apache land. But my superiors worry whether Tomcat will be able to handle the load with adequate speed and stability. Personally, I'm not afraid of putting Tomcat to the job since I've seen similar company using PHP and they are doing just fine. But I'm just curious, what do other servers provide? How easy is it to manage them? How easy it is to develop application in them? Is it possible to load balance them.

The requirements are as follows - SSL support, multiple domain support, connection pooling to MS SQL, Linux as OS. I don't care much for EJB standard support as I don't really understand them and all my previous sites were done using regular Java classes w/ some JSP tags.

My current setup is to use Apache for static stuff and SSL management with Tomcat 4 or 5 connected via mod_jk. The servers will balance loaded using LVS. The whole setup allows for virtual hosts thus multiple clients.

But I'm wondering if other application server going to be able to provide better service at reasonable costs (meaning I doubt we'd give 10-50K for an app server).

Another thing, I keep reading that Tomcat can handle around and about of 10-15 connections a second. Is that valid or not? After doing 'ab' it reports as 99% of all connections to be failed - which just doesn't make sense to me.

Any help will be greatly appreciated,

Thank you


If your company is not going to spend 10K for an app server, then you don't need to worry about it. I believe WAS starts around 10K per CPU per year depending on the support contract. Support is where they make their money although to be truthful IBM support ain't all that. I just started a new job and this company uses WebLogic 8.1. It's a little different and I definitely think WAS (I used 5.0) is easier. But that's just because I've been using it for the past 3 years. It'll take some time to get used to how WebLogic is setup. Both have web administrative consoles which seem easy to use. WL seems more in depth, but WAS seemed easier to use with not as many options.
Before I left my old job, we were in the middle of converting from WAS 5 to Tomcat 5 running in a load-balanced environment. We too didn't use any EJBs since most of our application was servlet and JSP based. We had SSL modules installed in our load balancer (Cisco 11500 series) so we were using it to do the SSL encryption. We then passed the requests to Tomcat which handled all of our static content as well as the servlets & JSPs. You can use Apache in front of Tomcat, but it seemed like more complication for not much benefit. WAS was just too expensive and we never really used it to it's full potential. If you need EJBs or advanced clustering, then WAS should be considered.
Hope this helps some...
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
What is LVS and Advanced clustering??
Daniil Sosonkin
Ranch Hand

Joined: Jan 15, 2004
Posts: 76
Thanks Ben,

It helps to put things in perspective. Can you tell me how tomcat was handling the load? Its interesting to know. I've been doing some small tests on my application using JMeter and it gave me throughput of 500/minute (I'm not quite sure what it means). While performing the tests, I was browing the site myself and it did't feel very slow. But I'm still curious how Tomcat handles in real life situations.

LVS - http://www.linuxvirtualserver.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: weblogic vs. tomcat vs. websphere
 
Similar Threads
Java Web hosting Vs PHP
Newbie Question: Java EE vs Tomcat+Hibernate+Struts
connect to a SOAP webservice using SSL
Ubuntu vs RH 9
help w/ multiple web servers using mod_jk in Production env