Thursday, August 10, 2017

What is Servlet in Java?

Java Servlet is a server side technology to develop web applications in Java EE. It is robust , since it is platform independent.


It is an extension of CGI(Common Gateway Interface) where it used to create separate process for each request and platform dependent. Servlet is more faster than CGI since it will be good in resource utilization and creates separate thread for every request so that process time will be reduced.


javax.servlet and javax.servlet.http are the interfaces used to create servlets.

No comments: