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

Java EE 7: The Voyage of the Cloud Treader

Avatar for Werner Keil Werner Keil
November 12, 2011

Java EE 7: The Voyage of the Cloud Treader

This session shares an entertaining insight on where the voyage of Java EE 7 shall be heading.
Beside embracing stars like CDI further, the Cloud, Social Networking, NoSQL and even long asleep JSRs for EE are going to play a role, as do "good old friends" in slightly newer outfits and releases. Plus some recent additions to the Java stack.

Avatar for Werner Keil

Werner Keil

November 12, 2011
Tweet

More Decks by Werner Keil

Other Decks in Programming

Transcript

  1. May 1998 Dec 1999 Sept. 2001 Nov. 2003 May 2006

    JPE Project J2EE 1.2 Servlet, JSP, EJB, JMS, JTA, JNDI, RMI/IIOP J2EE 1.3 EJB 2.0, Connector Architecture J2EE 1.4 Web Services, Management, Deployment, Async. Connector Java EE 5 Annotations, EJB 3.0, Persistence API, JSF, Renewed Web Services Enterprise Java Platform Robustness Web Services Ease of Development 7 “Swords” 8 www.catmedia.us Nov. 2009 Java EE 6 CDI/DI, Managed Beans, Bean Validation, JAX-RS, Extensibility Rightsizing ~ late 2012 Java EE 7 HTML5, JCache JSon Multi Tenant Cloud, ? Web 2.0+ Scalability
  2. Java EE 5 • Ease of development – POJO Programming

    – Annotation – Resource Injection • JPA – New persistence model replaced Entity Bean • JSF – New component based MVC framework • JAX-WS and JAXB 2.0 9 www.catmedia.us
  3. Java EE 6 • Rightsizing – Profiles: The Web Profile,

    a subset of the platform focussed on Web Applications – Dependency Injection • Further ease of development – Java EE 5 - EJB simplifications – Java EE 6 Web Tier and packaging simplifications • Extensibility – Allowing for Open Source Frameworks to be plugged in via a standard mechanism 10 www.catmedia.us
  4. BuyBooks.war ShoppingCart EJB Class ShoppingCart.jar BuyBooks.ear ShoppingCart EJB Class BuyBooks.war

    Java EE 5 Java EE 6 Ease of Development Adding an EJB to a Web Application 11
  5. Java EE 7 13 www.catmedia.us Images © Walden Media /

    Twentieth Century Fox •Making Java EE ready for the cloud • Support for Platform-as-a-Service (PaaS) model Synopsis
  6. 14 www.catmedia.us Java EE 7 • Multitenancy support • Service

    metadata • Connectionless APIs • Modularity metadata compatible with Java SE 8 • Concurrency utilities (JSR-236) • JCache (JSR-107) Featuring
  7. 15 www.catmedia.us Java EE 7 • JMS 2.0 API •

    Web sockets • HTML 5 • JSON • REST client API • Further alignment behind managed beans Featuring (2)
  8. 16 www.catmedia.us Seven “Kings” 1. JPA 2.1 2. JAX-RS 2.0

    3. Servlet 3.1 4. EL 3.0 5. Platform 7 / Web Profile 7 6. JMS 2.0 7. JSF 2.2 * Already approved * see Slide 22
  9. 17 www.catmedia.us Since “Part 1” • Concurrency Utilities 1.0 •

    JCache 1.0 Ongoing Images © Walden Media / Disney / Twentieth Century Fox
  10. 18 www.catmedia.us Since “Part 2” • EJB 3.2 • CDI

    1.1 Already Filed Images © Walden Media / Disney / Twentieth Century Fox
  11. 19 www.catmedia.us For “Part 4” • JSR-330 1.1 • Bean

    Validation 1.1 • JSON 1.0 • Web Sockets 1.0 ? • Data Grid ? Yet to be Filed Images © Walden Media / Disney / Twentieth Century Fox
  12. 20 www.catmedia.us For “Part 4” • Common Annotations 1.2 •

    JAX-WS 2.3 • JTA 1.2 • JSP 2.3 • Connector 1.7 ? • ? Yet to be Filed (2) Images © Walden Media / Disney / Twentieth Century Fox
  13. 21 www.catmedia.us Schedule • First seven JSRs already approved •

    Remaining ones (to be) filed soon – EJB 3.2 and CDI 1.1 proposed – JSON 1.0 draft posted publicly • Final release by Q3 2012 • Time-Boxed: anything not ready will be deferred to Java EE 8 Not in Narnia Years… Images © Walden Media / Disney / Twentieth Century Fox
  14. Where is JSF in its lifecycle? • 2.0 was the

    last BIG FEATURE release • From now on, JSF will be maintained with smaller, more frequent releases. • 2.1 was a small minor revision (MR) • 2.2, for JavaEE 6, is a small JSR, done by end of this year (2011) • 2.3 may follow soon afterward, and will target Java EE 7 22 www.catmedia.us
  15. What's Planned for JSF 2.2 • Let's revisit the JSR

    on which the JCP voted yes http://jcp.org/en/jsr/proposalDetails?id=3 44 • Ease of Development • Portlet Integration • New Features • Fixes 23 www.catmedia.us
  16. • single • Read or post • [email protected] • http://bit.ly/TheRealJsfForum

    • In a relationship • Get an id at http://java.net/ • Visit http://jsf-spec.java.net/ and click on “Join” • engaged • File issues at http://jsf-spec.java.net/issues/ • Subscribe to [email protected] • married • Join the Expert Group (must be an official JCP member with valid JSPA) http://jcp.org/en/jsr/egnom?id=344 • Subscribe to [email protected] How to Get Involved By Facebook Relationship Status 24 www.catmedia.us
  17. • It's complicated • Get a new job that has

    nothing to do with JSF and still participate as if you were in a relationship • In an open relationship • Go away from working with JSF for a while, but come back every now and then as if you were single • Widowed • You don't even work in IT any more • Separated • You start playing around with another framework and decide you like it better, but think maybe someday you'll come back to JSF again • Divorced • You leave JSF and publicly bash it, saying how great another framework is How to Get Involved By Facebook Relationship Status 25
  18. JSF 2.2 • JSF 2.2 is trying to be the

    fastest ever JSR • If it's not in the issue tracker, it will not get done, ever http://jsf-spec.java.net/issues/ • http://jsf.java.net/faq/ Conclusion 26 www.catmedia.us
  19. JPA 2.1 • Let's revisit the JSR on which the

    JCP voted http://jcp.org/en/jsr/proposalDetails?id=3 38 • Bulk Update/Delete • Support for Stored Procedures • Named Queries • Improved SQL Result Set Mapping 27 www.catmedia.us
  20. Data Grid • Data grids are gaining prominence and importance

    in enterprise Java, particularly as cloud-style deployments gain popularity: – High Availability – Cloud-style Deployment – Scalability Proposal 29 www.catmedia.us
  21. Data Grid • Data Grid to JSR-107 like CDI to

    JSR-330 ? • Concerns by some vendors – Especially Terracotta (107 EG) • What about Oracle? – Coherence,… • What about vmware? • Google, Amazon,…? Discussion 30 www.catmedia.us
  22. Social Networking • Specify APIs to Java (ME) allowing thereby

    to applications and local web services (servlets) to interface and host 3rd party social applications (e.g. hi5, LinkedIn, MySpace, Netlog, Ning, orkut, XING, Yahoo! ...) similar to – OpenSocial – Seam Social – Spring Social,… Initiated by Mobile, but meant to be portable 31 www.catmedia.us
  23. Social Networking • Generic Framework • Interface for applications to

    define new • Containers • Retrieve Social Networking information • Security ? Main Features 32 www.catmedia.us
  24. Modularity • What is EE 7 going to provide? •

    Will it be based on OSGi? • How about compatibility with SE 8? • ??? OSGi vs. Jigsaw 33 www.catmedia.us
  25. 2012 34 …Aslan’s Country? www.catmedia.us …a wall of water that

    extends into the sky. Images © Columbia Pictures / Sony Pictures
  26. Fulfilling 35 Ramandu's condition, Reepicheep www.catmedia.us …paddles his coracle up

    the waterfall… Images © Walden Media / Twentieth Century Fox