Analogweb is a tiny HTTP oriented framework. It depends only Java 11+.
package org.analogweb.hello;
import java.net.URI;
import org.analogweb.annotation.Route;
import org.analogweb.core.Servers;
@Route("/")
public class Hello {
public static void main(String... args) {
Servers.run();
}
@Route
public String hello() {
return "Hello World";
}
}