expressjs-similar Framework in Java?

Issue

Is outside there an expressjs similar framework for Java?
I’m looking for an small framework which can process different HTTP-Requests and send response, cookies etc. As in expressjs.

Solution

Ok, I decided to roll out my own framework. It’s called java-express. The API is very similar to the one of expressjs:

Express app  = new Express();

app.get("/", (req, res) -> {
    res.send("Hello World");
});

app.listen();

Answered By – Simon

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published