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

Jakarta MVC

B489790e1a844284d7cd1fa2cd6e021f?s=47 ivargrimstad
September 16, 2020

Jakarta MVC

When JSR 371 was dropped from the scope of Java EE, Oracle made the decision to allow the Community to finalize the specification. It quickly became known as the "Community JSR" and the slogan "@Controller to the Community" grew out of it.

When all the Java EE 8 specifications where transferred to Eclipse Foundation and Jakarta EE, MVC was once again left behind. We managed to release MVC 1.0 through the JCP and has since moved over to Jakarta EE as well. And we are on our way to release Jakarta MVC 1.1 through the Jakarta EE Specification Process. Maybe it is time for a new slogan? "The Specification that Never Dies!"?

In this talk, I will take you through this journey and show all aspects of the MVC in code. You don't want to miss this!

B489790e1a844284d7cd1fa2cd6e021f?s=128

ivargrimstad

September 16, 2020
Tweet

Transcript

  1. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Jakarta MVC Ivar Grimstad
 Jakarta EE Developer Advocate, Eclipse Foundation
  2. @ivar_grimstad https://github.com/ivargrimstad https://www.linkedin.com/in/ivargrimstad

  3. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) The Community Specification
  4. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @Controller to the Community
  5. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Outstanding Spec Lead Award Outstanding Adopt-a-JSR Award
  6. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) History
  7. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE 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
  8. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE 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 Intention announced
  9. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE February 2018 Public Review Ballot March 2018 September 2018 September 2018 Proposed Final Draft January 2018 Public Review Ozark -> Krazo Eclipse Ozark Proposed February 2020 Final Release
  10. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Plan Forward
  11. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Q3 2020 Jakarta MVC 1.1 Q1 2021 May 2020 Jakarta MVC Jakarta MVC 2.0 javax.* -> jakarta.*
  12. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Controller Model View Request Select Update Access
  13. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Controller Model View Request Select Update Access
  14. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Controller Model View Request Select Update Access
  15. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Demo
  16. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Model ReservationCtl Update confirmation reservation OK Browser POST
  17. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Model ReservationCtl Update confirmation reservation Redirect Browser POST Access ConfirmationCtl GET OK
  18. @ivar_grimstad #JakartaEE COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS

    WORK IS LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Demo
  19. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Summary
  20. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE @Controller @Path(“hello”) public class HelloController { @View(“hello.jsp”) @GET public void hello() { } }
  21. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) @ivar_grimstad #JakartaEE Jakarta MVC https://jakarta.ee/specifications/mvc/ Source https://github.com/eclipse-ee4j/mvc-api 
 https://github.com/eclipse-ee4j/mvc-tck
 https://github.com/eclipse-ee4j/krazo Demo Code
 https://github.com/ivargrimstad/mvc-duke
  22. COPYRIGHT (C) 2020, ECLIPSE FOUNDATION, INC. | THIS WORK IS

    LICENSED UNDER A CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE (CC BY 4.0) Thanks !