When Oracle released https://www.oracle.com/java/ last month, one of its slightly overlooked but interesting new features was the Simple Web Server. The https://openjdk.java.net/jeps/408 proposal describes the Simple Web Server as providing a command-line tool and API to start a minimal web server that serves static files only.

The tool is intended for use in prototyping, ad-hoc coding and testing, particularly in educational contexts, Oracle said.

“The Simple Web Server represents our continued investments to make Java more approachable for the next generation of developers.

These include the capability to add Code Snippets in Java API Documentation (JEP 413), which simplifies the addition of sample source code in API documentation, and Simple Web Server (JEP 408) for prototyping and testing.

Related Articles