Skip to content

shamoh/standalone-javax-mvc

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

[testing project] Example of Standalone Java EE MVC project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published