Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MVC 1.0 - Current status of the Community JSR

MVC 1.0 - Current status of the Community JSR

The MVC 1.0 specification has a turbulent history. Originally started by Oracle due to the high demand for an action-based Web framework in Java EE it was transferred to the community in early 2017. Since then the community is working to finish what Oracle began. Although MVC is not officially part of the Java EE umbrella specification, its goal is to provide very strong integration with Java EE which makes it a very interesting framework for many developers.

This talk will tell the story of MVC and show the current status of the specification. You will learn about what MVC offers for developers and how a community JSR is working in practice. Short demos will show you how easy it is to write action-based web application using MVC and how it integrates with other specifications of the Java EE platform. And of course you will also lean what you can do to help move the community JSR forward.

ivargrimstad

March 14, 2018
Tweet

More Decks by ivargrimstad

Other Decks in Programming

Transcript

  1. MVC 1.0 Current Status of the Community JSR Christian Kaltepoth

    Senior Software Developer, ingenit @chkal Ivar Grimstad Principal Consultant, Cybercom Sweden @ivar_grimstad
  2. @mvc_spec @chkal @ivar_grimstad January 2017 Transfer
 Ballot August 2014 First

    Proposal September 2014 Approved by JCP Executive Committee September 2014 Expert Group starts discussions March 2015 EDR 1 October 2016 October 2015 EDR 2 JavaOne History
  3. @mvc_spec @chkal @ivar_grimstad History April 2017 Transfer Complete May 2017

    Christian
 co-spec lead May 2017 Apache License 2.0 October 2017 June 2017 Infrastructure Complete January 2017 Transfer
 Ballot December 2017 Public Review February 2018 Public Review Ballot
  4. @mvc_spec @chkal @ivar_grimstad View @Controller @Path(“hello”) public class HelloController {

    @GET public Response hello() { return Response.status(OK).entity(“hello.jsp”).build(); } }
  5. @mvc_spec @chkal @ivar_grimstad Model @View(“hello.jsp”) @Controller @Path(“hello”) public class HelloController

    { @Inject private Models model; @GET public void hello() { model.put(“message”, “Jatumba!”); } }
  6. @mvc_spec @chkal @ivar_grimstad Model <%@page contentType=“text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html>

    <head> <title>MVC 1.0 Hello Demo</title> </head> <body> <h1>Hello ${greeting}</h1> </body> </html>