Servlet 4 0: A New Twist on an Old Favorite
summary
Servlet 4.0 brings concrete HTTP/2 features to Java EE: HTTP/2 server push (PushBuilder API that can return null when the client disables push, reusable to save request round trips for CSS/JS), header compression and multiplexing, plus HTTP trailers for gRPC (response-side supplier-based trailer setters to compute checksums/signatures after the body). GlassFish 5 demo shows PrimeFaces 6 and JSF 2.3 using push over HTTPS; mapping discovery exposes immutable ServletMapping (type, matchValue, servlet name) and there are encoding and default context path clarifications.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:40Welcome
- 4:30Small
- 11:29Breaking up the monolith
- 12:32Java EE Samples
- 13:06HTTP
- 18:49Classical Case
- 19:54What is Server Push
- 20:59What is RFC Push
- 22:16RFC Push API
- 28:04JSF Demo
- 30:44HTTP Trailer
- 33:41Pseudo Header
- 34:41GRPC
- 35:26HTTP Server Requests
- 37:23HTTP Server Exception
- 37:59Request Side
- 39:03Trailer View
- 40:10Map Discovery
- 43:43Challenges








