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

Is Tomcat an application server?

Harathi Rao
Ranch Hand

Joined: Oct 31, 2004
Posts: 42
Hi All,

Just wanted to make myself clear of this question.
Is Tomcat an Application Server?
I read somewhere that Tomcat from version 5.0 is an Application serer but I can't justify.

Can anyone justify it.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

I could not justify this. Tomcat is a Servlet/JSP container.
A server with Tomcat running could be called a Web Application server.

[My Blog]
All roads lead to JavaRanch
Chandra Sagi
Ranch Hand

Joined: May 05, 2005
Posts: 162
It could be called an application server, but not fully blown application server. It has Servlet/JSP container as someone specified. Inorder to be a full server it still needs EJB container which it does not support. But is more than a web server.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

But is more than a web server

Please explain why this is more than a web server.

Furthermore, I would still call a server 'an application server' even if it had no support for EJB.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Tomcat is an application server but doesn't suppor ALL of the J2EE stack.
Most notibly, EJB is missing.

If your application requires EJB support and you want an open source application server, look at JBoss. It supports the full J2EE stack.
It uses Tomcat as it's Servlet conatiner and JSP engine.

In addition Tomcat is fully capable of running as a stand-alone webserver but can also be connected to the Apache Webserver or IIS. This allows you to use the other webserver for handling static files, ASP, PHP, Perl, etc.. and send to Tomcat only those requests that need to be processed with server side Java.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Is Tomcat an application server?
It's not a secret anymore!