This project demonstrates how to create standalone Java EE MVC application.
MVC is newly developed Java EE JSR 371: Model-View-Controller (MVC 1.0) Specification.
The MVC API defines an action-oriented Web framework as an alternative to the component-oriented JSF. In an action-oriented framework, developers are responsible for all the controller logic and are given full control of the URI space for their application.
The MVC API is layered on top of JAX-RS over Servlets and integrates with existing EE technologies like CDI and Bean Validation.
It uses following technologies:
- Ozark as reference implementation of
MVC
specification - Mustache as MVC template engine
- Undertow as implementation of
Servlets
specification - Weld as reference implementation of
CDI
specification - DeltaSpike as extension library of
CDI
- Jersey as reference implementation of
JAX-RS
specification
See my blog post for more details.
gradlew build
gradlew run
curl -vvv http://localhost:8080/resources/hello?user=Libor
gradlew distZip
And build/distributions/
contains distribution zip.