Episode 22 “JEP 408 - Simple Web Server”
David remotely sat down with Julia Boes, Senior Member of Technical Staff in Dublin, to discuss the Simple Web Server (SWS). The SWS, introduced in JDK 18, is a minimal web server that serves static files. It comes with a command-line tool and an API. In this episode, Julia explains why another web server might be useful. She explains its goals, its features, who it is for but also what it is not!. She then goes over the command-line tool, its API, etc.
Note: During the recording, the
withRequest method was inadvertently mentioned instead of the
adaptRequest method, the latter is the correct method (see javadoc).
Contact us here.
- JEP 408: Simple Web Server
- JDK 18
- jwebserver man page
- Working with the Simple Web Server
- net-dev mailing list
- panama-dev mailing list