Skip to content

[testing project] Example of Standalone Java EE MVC project

License

Notifications You must be signed in to change notification settings

shamoh/standalone-javax-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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