my dog learned polymorphism*
The moose likes Servlets and the fly likes difference between j2ee application server and web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between j2ee application server and web server" Watch "difference between j2ee application server and web server" New topic
Author

difference between j2ee application server and web server

Deep Chand
Ranch Hand

Joined: Dec 17, 2002
Posts: 133
Hi
what's the difference between j2ee application server and web server? i know that application server also receives an http request and sends back an http response.
thanks,
Deep
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
web server serves static content, and sometimes allows plugin to run scripts (typically cgi type scripts, perl, C modules etc.)
j2ee application server implements whole or part of the Sun J2EE specification; a full J2EE container has a servlet container, EJB container, and a lot of services (security, transactions, threading etc.)
often these two are used tohether: the web server servers the HTML, CSS, images etc. The J2EE server does all the dynamic content, and does the backend.


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
 
GeeCON Prague 2014
 
subject: difference between j2ee application server and web server