• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Regarding Apace and Tomcat

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I understand that Apace is a webserver and tomcat a webcontainer.

My question: Is it mandatory to have a webcontainer along with webserver? ie., when we install webserver, at the time of installation will it ask that I need to install the webcontainer too?

Thanks,
Sujatha
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apache is a web server and on its own just serves up static web pages. Though you can include modules that allow programming e.g. PHP and perl modules.

Tomcat is a JSP/Servlet container. This means it can do everythign Apache does in terms of serving up static pages but it will also process JSP and Servlets.

If Tomcat can do what Apache does why would anyone use Apache? Well Apache is highly tuned for its core role and of course many people want to use its other capabilities for server side scripting language. Does this address your question?
 
Swapna Mandava
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the quick reply Marcus.

If I want to use tomcat alone without apache, can it handle the server side scripting language?

Thanks,
Sujatha
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic