I'm more or less familiar with APACHE and LAMP but I can't see what an application server is. Can someone please explain to me the difference between an application server and a web server?
You know web servers: they handle HTTP requests.
App servers are generally used in the Java EE space. They may or may not have a web server built in. They add servlet/JSP support (servlets are Java classes that run in an app server and listen for HTTP requests; JSPs are Java Server Pages, a templating solution that uses servlets to generate HTML) and sometimes EJBs (Enterprise Java Beans).
The app server provides services such as threading, naming, pooling, etc. to objects that run inside it.
An application server runs applications/services to be used by various clients. In general it allows you to deploy and manage applications which need to run on a server machine instead of on a desktop.
It offers typically a large set of services to be used by the applicaitons such as security, messaging, transaction coordination, etc...
It may or may not have a web server as part of the package (but most do).
A web server only deals with handling HTTP requests and returning web pages and other static or dynamic content.
In practice the line dividing web servers is not razor sharp and there is a sizable grey area between the two.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With