Java Servlets have been around for longer than Java EE, or even J2EE. This session from the co–spec leads surveys the new features in Servlet 4.0 and puts them in the context of their usefulness in a contemporary microservices-style architecture. Features covered include
• Support for HTTP/2, including server push
• Default context path
• Mapping discovery
• Encoding clarifications
• HTTP trailers, including their relevance to gRPC
The session examines these features in light of current application development trends, such as containerization, continuous delivery, 12-factor apps, and adapting legacy apps to take advantage of cloud-native technologies.