Javatpoint Logo

apache tomcat is web container or web server

By: shrava*** On: Tue Apr 15 23:12:52 IST 2014     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
Tomcat Apache is web container or server ? explain how ?Up0Down

 
Tomcat is both a web server and a web container, but it's not really meant to function as a high performance web server, nor does it include some features typical of a web server. Tomcat is meant to be used in conjunction with the Apache web server, where Apache manages static pages, caching, redirection, etc. and Tomcat handles the container (web application) functions. You'll often hear the phrase "Apache Tomcat" together, which is both a proper attribution of the Tomcat project (as part of the Apache Foundation), but also appropriate as a label, as they're usually used together as a package.

If you don't have an high performance server requirements and/or want to embed a relatively simple web server with container functionality, Tomcat is fine for that (and probably the easiest embedded web container to work with, comparable with Jetty). Interestingly, the Catalina class used as the main Tomcat engine is actually a subclass of the Embedded class that can be used in a standalone web application.
Image Created0Down

By: [email protected] On: Wed Apr 16 10:17:06 IST 2014 Question Reputation0 Answer Reputation359 Belt Series Points0 359User Image
Are You Satisfied :5Yes2No
 
Tomcat is basically Application Server thats provide Java Runtime Environment(JRE) to the Web Application. That's handles static as well as Dynamic pages both in web container,such as - Servlet,JSP,JavaBeans,etc.
similar like another Server are :
1. JBoss- JBoss Community
2. GlassFish- Apache
3. Weblogic
4. WebSphere
Image Created0Down

By: [email protected] On: Wed Apr 16 13:23:52 IST 2014 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :3Yes3No
Comments
If Tomcat is a sever, then how tomcat used in the JBOSS sever. is it possible that one sever contain another server?
if yes then why?
if no, then how tomcat is a sever?
By : [email protected] On: 2014-04-17 01:40:45  Question Reputation0 Answer Reputation0 Belt Series Points0
 0User
 

yehh..

apache is container
tomact is sever

and both include is web container and server.
Image Created0Down

By: [email protected] On: Wed Apr 16 17:43:03 IST 2014 Question Reputation0 Answer Reputation392 Belt Series Points0 392User Image
Are You Satisfied :0Yes2No
 
Tomcat is a container. but whenever we insatl the tomcat container web server automaically installed.it is a in process container.

when we insatll JBOSS Server then tomcat container used inside the JBOSS server
so we can say that it is really a container because one sever can not contain another server.


Image Created0Down

By: [email protected] On: Thu Apr 17 01:35:11 IST 2014 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :1Yes0No