File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Tomcat an app server.

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel supporting servlets and jsps does not make a server Application server.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kamesh Rao
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so you mean there is no difference in an application server and a web server responsibilities.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Application server=Web Container(webserver)+EJB container

Tomcat has only web container.so it is a web server
 
Kamesh Rao
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
tomcat is a web server with web component(jsp/servlet) support.


milan.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 148
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic