Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the role of Apache and what is the role of Tomcat

 
mani pallapu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Apache webserver and What is Tomcat webserver. If we use both the servers, what are their roles?
Can we use the Tomcat alone as web server.
 
john smith
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache is a software foundation. Apache HTTP server however is an HTTP server. Tomcat is a servlet container. Yes you can use Tomcat as a webserver, but you should only use it if you need its container functionality too.
[ March 11, 2004: Message edited by: john smith ]
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache Web Server is a plain HTTP Server, just like IIS(Microsoft).
where as Tomcat is a Web Application Server that can execute Servlets, JSPs etc...but no EJBs.
If there are no special performance or scalability needs in your project, you can get away with just using Tomcat.
The "big" J2EE projects use Weblogic, Websphere, JBoss etc.....These are Web Application servers a.k.a App Servers, and which can include the Web Server functionality and also execute Servlets,JSPs and EJBs. In fact, the complete J2EE Suite......
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!