The lightweight HTTP server context is mainly intended to be used for prototyping, testing, demoing, experimentation or productive use in small projects.
To start a lightweight HTTP server with essential capability instantiate the EssentialHTTPServer:
EssentialHttpServer server = new EssentialHttpServer("localhost:8080/context", "my.resource.implementations");
server.start();
<dependency>
<groupId>net.craftforge.essential</groupId>
<artifactId>essential-server</artifactId>
<version>2.0-beta2</version>
</dependency>