In this section we will discuss about Java Servlet.
Servlet is a part of J2EE. As we know, in Java, J2EE is used to develop web based applications, web services, enterprise software etc. Servlet is a Java based API which runs on Server machine. A Servlet is intercepted on a request it receives, and generates a response according to the corresponding request. Servlet is a Java class that extends the capabilities of a Server. Servlet can be thought of as an Java Applet but, the difference between Servlet and Applet that the Servlet runs on Web Server whereas Applet runs on Web Browser.
Servlet container is also called a web container, is used to deploy and run Servlet. The Servlet container is a component of Web Server which interacts with the Servlet . The Servlet containermanages the Servlet's life cycle, maps the URL etc.
Versions Of Servlet
Servlet Container Servers
Now a days there are various Servlet container servers. Some of the famous Servlet container servers are as follows :
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Servlet Tutorial
Post your Comment