When it comes the web servers they can process HTTP requests and the main job of these servers is to just send the response for the request received from web browser in the static form (may be Html,images etc) or send a redirect or delegate the response to other program like CGI, JSP(JavaServer Pages) ,server side JS.
Hence Web servers do not have the capability of the executing any business logic Its job is to just get the request serve the request and send the response back.This results in lot of draw backs, which includes application scalability problem,session management
Whereas in Application servers, you can put in business logic for which would be executed by the server for the use of client program.This is mainly done by means of whats called EJB(Enterprise Java Beans).
Also its interesting that Application servers are the super set of the Web servers and hence Application server is capable of doing what web servers do(only allocating resources).
Its important to note that Application server clients can also be GUI running on PC and other Application server.
No comments:
Post a Comment