aspose file tools*
The moose likes Tomcat and the fly likes Is Tomcat an app 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 app server." Watch "Is Tomcat an app server." New topic
Author

Is Tomcat an app server.

Pawanpreet Singh
Ranch Hand

Joined: Jun 12, 2005
Posts: 264

Is Tomcat an application server/ web server/web container.

Why do we use Apache as web server with tomcat in a live environment.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Is Tomcat an application server/ web server/web container.

That depends upon your definition of "app server".
[ December 26, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Why do we use Apache as web server with tomcat in a live environment.


I don't know. Why do you? Is it a guessing game?

I don't.
Kamesh Rao
Ranch Hand

Joined: Dec 24, 2006
Posts: 35
Tomcat is not an appserver but a webserver. An appserver should support a lot of other j2ee specifications and should host EJBS, JMS etc..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

Originally posted by Kamesh Rao:
Tomcat is not an appserver but a webserver. An appserver should support a lot of other j2ee specifications and should host EJBS, JMS etc..


That's one definition. But there are many would say that Tomcat is an app server as it supports servlets and JSP.

The term "app server" is too nebulous for there to be a definitive answer to the question.
Kamesh Rao
Ranch Hand

Joined: Dec 24, 2006
Posts: 35
I feel supporting servlets and jsps does not make a server Application server.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39550
    
  27
As Bear said, there are many definitions of what an app server is. If an application consists entirely of servlets, JSPs, and their associated classes, then it can be hosted by Tomcat, and that would make Tomcat an app server.


Ping & DNS - updated with new look and Ping home screen widget
Kamesh Rao
Ranch Hand

Joined: Dec 24, 2006
Posts: 35
so you mean there is no difference in an application server and a web server responsibilities.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

No, we mean that the term "app server" has no standard definition and so there is no real answer to the question.
Kris Bal
Greenhorn

Joined: Dec 24, 2006
Posts: 19
Application server=Web Container(webserver)+EJB container

Tomcat has only web container.so it is a web server
Kamesh Rao
Ranch Hand

Joined: Dec 24, 2006
Posts: 35
Originally posted by Bear Bibeault:
No, we mean that the term "app server" has no standard definition and so there is no real answer to the question.


Having no standard definition for an appserver doesnot mean that we can call a webserver an appserver.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39550
    
  27
Tomcat has only web container. so it is a web server

Tomcat includes a servlet container, so it is definitely more than a web server.
Milan Jagatiya
Ranch Hand

Joined: Jan 01, 2007
Posts: 164
Hi
tomcat is a web server with web component(jsp/servlet) support.


milan.


Milan.<br />I can because I think I can...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60059
    
  65

"milan",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
myneni gopal
Greenhorn

Joined: Jun 16, 2004
Posts: 3
tomcat is a webserver.

an applicaitons server should also host enterprise java beans..

examples for application server are bea's weblogic

IBM's websphere .
Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
Generally, application servers, like IBM WebSphere AS, Oracle AS, Sun AS, BEA WebLogic AS, JBOSS AS are officially certified for implementing a particular version of the J2EE specification. Tomcat only implements a very small subset that includes JSP+Servlets mainly so it doesn't really get much of a label as "application server" which provides much more enterprise services.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is Tomcat an app server.
 
Similar Threads
Are they(apache and tomcat) Application Server?
Container OR Server ?
Generated servlet error:
Server
Basic Doubt