File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tomcat or Glassfish? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat or Glassfish?" Watch "Tomcat or Glassfish?" New topic

Tomcat or Glassfish?

Aryeh Golob
Ranch Hand

Joined: Nov 12, 2006
Posts: 37
I have a java server application that I would like to write a web client for.

I need to decide whether to use Tomcat or Glassfish?

Any opinions on the matter?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Tomcat is a servlet container, and thus is well suited for deploying web applications.

Glassfish is a Java EE application server which means that besides providing a servlet container it also provides a bunch of other services such as messaging, EJBs and so on. It is way more than what you need for a web application if you don't plan on using the additional capabilities.

JBoss In Action
I agree. Here's the link:
subject: Tomcat or Glassfish?
It's not a secret anymore!