Giorgi Tsiklauri

Standing on the Shoulders of Servlets - The Web of Java

What do Spring MVC and JAX-RS have in common? They both stand on the shoulders of one foundational API that every Java web developer should master.

Standing on the Shoulders of Servlets - The Web of Java
#1about 4 minutes

The foundational role of servlets in the Java ecosystem

Servlets are the ubiquitous but often overlooked foundation for major Java web frameworks like Spring, JAX-RS, and JSF.

#2about 6 minutes

How servlets bridge the gap between HTTP and Java

Servlets act as a crucial abstraction layer, translating low-level HTTP requests and responses into manageable Java objects.

#3about 8 minutes

The servlet specification and its historical evolution

A servlet is defined by a formal specification that has evolved from Java EE's `javax` package to Jakarta EE's `jakarta` package.

#4about 10 minutes

How servlet containers manage your web application

Servlet containers like Tomcat are full applications that manage the entire lifecycle, security, and multithreading of your servlet components.

#5about 7 minutes

Understanding the core servlet lifecycle methods

The servlet container manages a servlet's lifecycle through key methods like `init()` for setup, `service()` for handling requests, and `destroy()` for cleanup.

#6about 6 minutes

A practical guide to the servlet API hierarchy

Developers create servlets by extending the `HttpServlet` abstract class and overriding methods like `doGet()` and `doPost()` to handle specific HTTP verbs.

#7about 3 minutes

How modern frameworks like Spring MVC use servlets

High-level frameworks like Spring MVC are built on the servlet specification, using a central servlet like the `DispatcherServlet` to manage requests.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.