• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Web server and application server

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


Hello

What is difference between web server and application server?
Does the tomcat work without apache?
 
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Abhijeet Neware wrote:What is difference between web server and application server?


Web server is used to serve static content like HTML/images etc.. Java Application server is a fully JEE compliant server where you can run servlets, EJBs, MDB etc...

Does the tomcat work without apache?


If you meant the Apache web server then Yes. Tomcat is a web container which implements the servlet/JSP specifications. There can be scenarios where Apache web server is used as a front end to the Tomcat but it depends on the requirement.
 
Master Rancher
Posts: 43045
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See https://coderanch.com/how-to/java/WebVsApplicationServer

Vijitha Kumara wrote:Java Application server is a fully JEE compliant server where you can run servlets, EJBs, MDB etc.


That is a matter of definition. What you describe is a "JEE server"; other definitions of "application server" would include servlet containers such as Tomcat. So it's best to be specific about what is meant, as there is no single agreed upon definition of "application server".
 
Vijitha Kumara
Bartender
Posts: 4109
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes what I meant was JEE application server. You are right that there's no exact definition for "application server". It can refer to different things based on what specifications it implement etc... other than JEE specs.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic