Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.96 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.96 KB

Build Status Dependency Status

About

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.

Build it

gradlew build

Run it

gradlew run

Try it

curl -vvv http://localhost:8080/resources/hello?user=Libor

Distribute it

gradlew distZip

And build/distributions/ contains distribution zip.