File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Can i use Tomcat in production environment? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can i use Tomcat in production environment?" Watch "Can i use Tomcat in production environment?" New topic

Can i use Tomcat in production environment?

brijesh chavda

Joined: Jan 01, 2011
Posts: 18
Hello Fellow architects.

I am in dilemma whether i should use weblogic, or tomcat.
Application has around 50000 Users and expecting 300 to 400 concurrent users doing the transactions.

I know weblogic license is costly and would like to save that cost, but not by compromising the user security, scalability and performance.
Can tomcat be able to handle this many user requests. Can we put trust on its cluster support for failover?

Any advise is greatly appreciated.


Stefan Evans

Joined: Jul 06, 2005
Posts: 1580
First question to ask: Will Tomcat have the capability to completely replace your use of WebLogic?
Weblogic does a whole lot more than Tomcat does. It implements the full J2EE stack (EJBs etc) whereas Tomcat is just a servlet container.

If you are not using those features, then swapping in Tomcat should be ok.
If you DO need the full J2EE stack, then JBoss might be a more appopriate "budget" choice.

brijesh chavda

Joined: Jan 01, 2011
Posts: 18
Hi Stefan,

Thanks for your reply. Well I have a option to use EJB or Spring. So after considering performance, load balancing and fail over criteria for weblogic as well as tomat, I can start designing my solution. My existing app is using weblogic (version 6 without EJB) and was written 10 years back , so we want to decommission it and rewrite it. My company may not consider JBoss, because, that will be new skill set required for the system group. Tomcat is fine, Because They already manage tomcat with different other internal applications.

My Application is simple transactional (DB only) web based application. I may not need full J2EE stack for this app.

Any further insight will be helpful.

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

brijesh chavda wrote:Any further insight will be helpful.

Not sure what more insite someone could give you about your project that we know nothing about. It really is as simple as Stefan says. If you need the full JEE stack, you'll need something at least like Weblogic (JBoss, Glassfish, etc). If not, Tomcat will work just fine. Everything else is up to you.

GenRocket - Experts at Building Test Data
brijesh chavda

Joined: Jan 01, 2011
Posts: 18
Hi Gregg,

I am just trying to understand the comparison of performance , failover and load balancing aspects of weblogic and tomcat. This is not project specific question. Just trying to figure out, is there anyone out there, who uses tomcat in production environment, with 40 to 50 thousands of users with multiple hundreds concurrent requests served.

I agree. Here's the link:
subject: Can i use Tomcat in production environment?
It's not a secret anymore!