Saturday, March 2, 2013

Servlets

What is servlet?

Servlet is a java progrom it acts as a middle layer between web server and database server.  It is used to build a dynamic webpages for web applications. It handles the http requests from web browser and after request processing will receive response from web server and send it back to the browser to display the result page.

Advantage of Servlets:

1. Better performance
2. Handle multiple requests concurrenlty.
3. Alternative to CGI script
4. Platform independent

Servlet Architecture:

Servlets Architecture





No comments: