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 our social media channels for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next
-
C++ and Python

Ad2