Best language framework Java and JVM

Micronaut looks like a spring for roads, but has different tricks on his sleeve. This example emphasizes the compilation of Micronaut’s some time ago (AOT) for quick startups:


import io.micronaut.http.MediaType;
import io.micronaut.http.annotation.Controller;
import io.micronaut.http.annotation.Get;
import io.micronaut.http.annotation.Produces;

@Controller("/hello")
public class HelloController {

    @Get(produces = MediaType.TEXT_PLAIN)
    public String index() {
        return "Hello, InfoWorld from Micronaut!";
    }
}

Quark

Like Micronaut, Quarkus focuses on the development of a cloud native. Quarkus is more of a framework with an opinion style, with a strong support interface (CLI) for DevMode and container packaging. One of the strengths of Quarku is more efficient and authorized to make an experience from the command line. Here we use it to create a new application and start in Hot-SWAP Devmode:


# New Quarkus project with the RESTEasy extension
mvn io.quarkus.platform:quarkus-maven-plugin:2.16.0.Final:create \
    -DprojectGroupId=org.acme \
    -DprojectArtifactId=my-quarkus-app \
    -Dextensions="resteasy"

cd my-quarkus-app

# Run the application in dev mode
./mvnw compile quarkus:dev

--
Tests paused
Press (e) to edit command line args (currently ''), (r) to resume testing, (o) Toggle test output, (:) for the terminal, (h) for more options>

Jspster

Jhipster is possible the most extensive and ambitious framework in this list. It covers a huge rage of flexibility, includes data data data data Endy SQL and Nosql, all with Java and JVM ecosystem.

Leave a Comment