Episode 22 “JEP 408 - Simple Web Server”

Posted on March 4, 2022



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).

For more episodes, check out Inside Java and follow @Java on Twitter.

Contact us here.


Resources

Additional resources