• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
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.
 
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 ]
 
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......
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!