30-days Money-Back Guarantee
Vinod Kumar Kayartaya
100% HANDS ON training by an industry expert to build powerful server side MVC web applications in Java
Updated on Sep, 2026
Programming, Programming Languages, Java Servlets
Training 5 or more people ?
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
A Java servlet is a Java software component that extends the capabilities of a server. Although servlets can respond to many types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API. Such web servlets are the Java counterpart to other dynamic web content technologies such as PHP and ASP.NET.
A Java servlet processes or stores a Java class in Java EE that conforms to the Java Servlet API, a standard for implementing Java classes that respond to requests. Servlets could, in principle, communicate over any client-server protocol, but they are most often used with HTTP. Thus "servlet" is often used as shorthand for "HTTP servlet". Thus, a software developer may use a servlet to add dynamic content to a web server using the Java platform. The generated content is commonly HTML, but may be other data, such as XML and, more commonly, JSON. Servlets can maintain state in session variables across many server transactions by using HTTP cookies or URL mapping.
To deploy and run a servlet, a web container must be used. A web container (also known as a servlet container) is essentially the component of a web server that interacts with the servlets. The web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights.
The Servlet API is contained in the Java package hierarchy javax. A servlet defines the expected interactions of the web container and a servlet.
Servlets can be generated automatically from JavaServer Pages (JSP) by the JavaServer Pages compiler. The difference between servlets and JSPs is that servlets typically embed HTML inside Java code, while JSPs embed Java code in HTML. While the direct usage of servlets to generate HTML has become rare, the higher-level MVC web framework in Java EE (JSF) still explicitly uses the servlet technology for the low-level request/response handling via the FacesServlet. A somewhat older usage is to use servlets in conjunction with JSPs in a pattern called "Model 2", which is a flavour of the model–view–controller.
MyBatis is a Java persistence framework that couples objects with stored procedures or SQL statements using an XML descriptor or annotations.
Check out the detailed breakdown of what’s inside the course
Vinod Kumar Kayartaya is a dedicated instructor with a passion for teaching and knowledge sharing. With practical experience in his field, he focuses on explaining concepts in a clear, simple, and easy-to-understand way. Vinod believes in hands-on learning and real-world examples to help learners build confidence and practical skills. His friendly teaching style and commitment to student success make his courses suitable for both beginners and professionals looking to strengthen their expertise.
Use your certificate to make a career change or to advance in your current career.
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Master prominent technologies at full length and become a valued certified professional.