Web tier: servlets, JSP, Web frameworks: Difference between the application server to web server
- Posted by: 3353 5345
- Posted on: February 07 2001 08:07 EST
What is the difference between the application server & web server
- Difference between the application server to web server by Anil Kumar T on February 07 2001 10:11 EST
- Difference between the application server to web server by 3353 5345 on February 08 2001 03:44 EST
- Difference between the application server to web server by Gordon Reynolds on February 08 2001 13:07 EST
- Hi by shankar nachupally on June 16 2011 01:34 EDT
hi, basically the webserver is mentioned for service through web(over internet). it just picks the particular file for which the request has come and gives to the client/user. it doesnt do any operations. that means franckly seaking it can serve only html files, if u ask for ASP/Servlets/Jsp page then the request will be redirected to the particular engine(incase of ASP-ASPEngine, Servlet-ServletEngine, no idea abt JSP but it should be like this only) then the engine will process the file then it gives a htm output that will be returned to the client thats what abt the webserver. coming to AppServer it will just process only it doesnt relate to the webserver. a request will come to this AppServer then it will process and gives the output, the request can be from a webser or it can be a normal client it doesnt matter to the AppSErver.
thatsall i know abt web and AppServers. if i'm wrong someone can correct me.
Thank's Anil Kumar T !! to provide me a very good response.
Anil, in the context of this forum, your definition is about right. Outside this forum, the definition of an Application Server extends into many areas. In my mind, an App Server is designed to act as a container to applications where it can provide to those applications a number of services, like database connectivity, security, transactional integrity, object-relational mapping, messaging - the things J2EE was designed to afford.
The idea is that to design a robust application requires many of these services and that having those services managed and provided by the app server simplifies greatly the effort required to implement such applications.
Now, going back to Anil's definition and confining the definition to the context of servlets and JSP, the web server is primarily concerned with finding and serving HTML, as he says. An application server 'extends' the web server, typically through an interface like ISAPI or NSAPI. You configure the web server to pass control to the application server for any request that begins "/servlet/..." or ends ".jsp". The application server then executes your servlet or jsp accordingly and returns an html response to the web server which, in turn, returns it to the client. Voila, dynamic content.
Thanks for the useful post, that kinda explains in nutshell the differences between an App Server and Web Server.
Does it mean a webserver is contained withing app server
app server contained within webserver
App Server contains Web server...
We can say App server is super set of Web server