Introduction

Ozark is the reference implementation for the Model-View-Controller API 1.0 defined in JSR 371 and available at MVC 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 and integrates with existing EE technologies like CDI and BV.

HelloWorld Example

@Path("hello")
public class HelloController {

    @Inject
    private User user;

    @GET
    @Controller
    public String hello(@QueryParam("name") String name) {
        user.setName(name);
        return "hello.jsp";
    }
}

What Next?

Follow the links at the top and bottom of this page to navigate to the download area, read documentation, access Javadocs, etc. Hope you enjoy Ozark!

Back to top

Last Published: 2015-09-30.