New candidate JEP: 408: Simple Web Server

Remi Forax forax at univ-mlv.fr
Mon Mar 29 19:41:03 UTC 2021


----- Mail original -----
> De: "mark reinhold" <mark.reinhold at oracle.com>
> À: "Julia Boes" <julia.boes at oracle.com>
> Cc: net-dev at openjdk.java.net, "jdk-dev" <jdk-dev at openjdk.java.net>
> Envoyé: Lundi 29 Mars 2021 21:16:06
> Objet: New candidate JEP: 408: Simple Web Server

> https://openjdk.java.net/jeps/408
> 
>  Summary: Provide a command-line tool to start a minimal web server
>  that serves static files in the current directory. This low-threshold
>  utility will be useful for prototyping, ad-hoc coding, and testing
>  purposes, particularly in educational contexts.


big +1,

For teaching purpose, i'm currently using a thin wrapper with an API close to expressjs [1] on top of com.sun.net.httpserver.HttpServer.
 
> 
> - Mark

Rémi

[1] https://github.com/forax/jexpress


More information about the jdk-dev mailing list