It Is Suddenly the Mid-90s and You Need to Do Web Programming in Java
summary
Recreates a working Java web stack under 1996 constraints: opens raw sockets, parses HTTP lines and Content-Length, renders a browser “Hello” response (tested with Telnet and Mosaic/Netscape), implements routing with a handler interface, request/response objects, and a filter chain, fixes blocking by spawning one thread per request, isolates apps with per-folder class loaders and a tiny security manager to catch System.exit, and uses Class.forName/newInstance and text descriptors instead of annotations or jars. socket-based HTTP parsing per-app class loaders thread-per-request concurrency filter chain via handler.next
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:29Time traveling to the 90s
- 3:57Modern Java web stack
- 8:11Java in 1994 and CGI
- 11:40Java arrives in 1996
- 14:11Building a CGI Java server
- 16:16Parsing HTTP requests
- 18:43Structuring a web app
- 21:12Introducing handlers and routing
- 23:39Adding threading
- 24:42Class loading and isolation
- 26:52Security and exceptions
- 28:57Filters and middleware
- 31:20Dependency injection limits
- 32:46Evolution to Spring Boot
- 33:27Summary and legacy
