Next >

Introduction to Servlets

Servlet is a Java class that creates a dynamic content after processing the user request, which was sent from the web browser. Hence, Java Servlet is a technology used in the creation of dynamic web applications.

Although Servlet is quite similar to other web server technology such as Common Gateway Interface(CGI) but Servlet has overcome the disadvantages of CGI. For example - A Servlet may process one or even multiple concurrent user requests which can be HTTP based or non-http without overburdening or increasing the workload on the server(which is a big issue with CGI based web applications).

How a Servlet processes a user request

Features of Java Servlet Technology

Comparing to the CGI based web applications, where multiple user requests leads to a heavy workload on the Server, a Servlet based web application is fairly light as only one process on the Server is created which handles multiple user requests.

Please share this article -

Facebook Google Pinterest Reddit Tumblr Twitter

Next >
Lifecycle of a Servlet >

Please Subscribe

Please subscribe to our social media channels for daily updates.

Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page


Please check our latest addition