SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Java EE 7: Developing for the Cloud
Arun Gupta, Java EE & GlassFish Guy
 1 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 6 Platform
                                                                            December 10, 2009


2 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Top Ten Features in Java EE 6
1.  EJB packaging in a WAR
2.  Servlet and CDI extension points
3.  Optional web.xml!
4.  Type-safe dependency injection
5.  CDI Events
6.  JSF standardizing on Facelets
7.  EJBContainer API
8.  @Schedule!
9.  EJB No Interface View
10. Web Profile
3 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 6 Implementations
Fastest implementations of a Java EE release ever!




4 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
•  Java EE 6 and Developer Productivity
   Simplified Deployment and Management with Virtualization
   Integrated Traffic Management
   Enhanced High Availability and Disaster Recovery        Released
                                                                               Today
 Much Higher Performance
 Seamless Upgrade
   5 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Today’s Cloud Offerings are all Proprietary


Infrastructure as                                                           Platform as   Software as
    a Service                                                                a Service     a Service




6 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7




7 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7 Focus: Platform as a Service

•  Next logical step for Java EE
         –  J2EE à Java EE 6 : The Java EE Platform provides services
         –  Java EE 7 : The Java EE Platform IS a service

•  PaaS support entails evolutionary change

•  Provide way for customers and users to leverage public,
   private, and hybrid clouds


8 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Roles

             Developer
                                                                                                                      PaaS Provider

     PaaS
 Customer/                                                           JVM JVM JVM         JVM JVM JVM   JVM JVM JVM
    Tenant                                                                     Machine     Machine       Machine            PaaS Product
                                                                                                                            Provider

                                                                     JVM JVM JVM         JVM JVM JVM   JVM JVM JVM
Deployer
                                                                               Machine     Machine       Machine           PaaS Account
                                                                           Tenant 1       Tenant 2      Tenant 3           Manager
 Application
  Submitter
                                                                                                                     PaaS
                                                                                                                     Administrator
                            Application
                          Administrator

   9 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Existing Java EE model
                                                                                                                   Database
                                                                             1	
     Provision and Initialize       Service
•  Configure Java EE resources –
   JDBC, JMS etc                                                                                                    LDAP
                                                                                                                   Service
•  Deploy Application EAR
                                                                             2	
       Provision and Initialize




                                                                                                                  Messaging
                                                                             3	
      Provision and Initialize
                                                                                                                   Service

                                                                                                                  Application
                                                                             4	
  
                                                                                      Provision and Initialize
                                                                                                                   Container


                                                                             5	
     Deploy Application (EAR/
                                                                                          GAR/SAR …)




10 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7 Model: Auto-Provision Services
  from Application Dependencies
•  Provision and deploy application                                          1	
     Provision and Initialize     Cloud Administration Service


resources (e.g. LDAP stripe, data
source instantiation and                                                                                              Database
                                                                                                                       Service
connection …)                                                                2	
       Provision and Initialize




•  Extensible Deployment Models                                                                                         LDAP
   Supporting Multiple Frameworks                                            3	
      Provision and Initialize         Service
•  Spring, Seam, Play …
                                                                                                                    Messaging
                                                                             4	
  
                                                                                      Provision and Initialize
                                                                                                                     Service

                                                                                                                   Application
                                                                             5	
     Deploy Application (EAR/
                                                                                          GAR/SAR …)
                                                                                                                    Container


11 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Services

 •  Cloud apps consume services
           –  Persistence, queueing, mail, caching, …
 •  Service metadata facilitates ease of use when deploying
    into the cloud
           @DataSourceDefinition(
            name=“java:app/jdbc/myDB”,
                 className=“oracle.jdbc.pool.OracleDataSource”,
                 isolationLevel=TRANSACTION_REPEATABLE_READ,
                 initialPoolSize=5
           )


12 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Services

 •  Cloud apps consume services
           –  Persistence, queueing, mail, caching, …
 •  Service metadata facilitates ease of use when deploying
    into the cloud
           @JMSConnectionFactory (
            name=“java:app/myJMSConnectionFactory”,
                 resourceType=“javax.jms.QueueConnectionFactory”)

           @JMSDestination(
                 name=“java:app/myQueue”,
                 resourceType=“javax.jms.Queue”)

13 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7 Focus Area: Elasticity
                                                                                     Java EE 7 Focus:
                                                                                    Move the Bar Right



                                                                               Elasticity Continuum


                                                                                    Java EE Cluster            Elastic Cluster
                                                                                                                  Elastic Cluster
                                                                                                                                     Capacity
                                                                                                                                        Ca
                                                                                                                                    on Demand



Single node                                                                      Java EE Multi-Node        Dynamic Self Adjusting
Non-Elastic                                                                    Multi-Instance Clustering    SLA Driven Elasticity

   •  Service Levels
   •  Minimum and Maximum Instances
   •  Futures – Self Adjustment, Capacity On Demand
  14 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Demo
 PaaSing a Java EE Application in the Cloud




15 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Conference Planning in the Cloud

    Java EE Application

           JSF                                   JPA                              Deploy

                                          Services
          EJB                             Metadata
                                                                                     <glassfish-services>
                                                                                     <service-description init-type="LB" name="ConferencePlanner-lb">
                                                                                       <template id="LBNative"/>
                                                                                       <configurations>
                                                                                          <configuration name="https-port" value="50443"/>
                                                                                          <configuration name="ssl-enabled" value="false"/>
                                                                                          <configuration name="http-port" value="50080"/>
                                                                                       </configurations></service-description>
                                                                                     <service-description init-type="JavaEE" name="ConferencePlanner">
http://glassfish.org/javaone2011                                                       <characteristics>
                                                                                          <characteristic name="service-type" value="JavaEE"/>
                                                                                       </characteristics>
                                                                                       <configurations>
                                                                                          <configuration name="max.clustersize" value="4"/>
                                                                                          <configuration name="min.clustersize" value="2"/>
                                                                                       </configurations>
                                                                                     </service-description>
                                                                                     ...
     16 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
                                                                                     </glassfish-services>
Service Provisioning

                                                                               Load
                                                                              Balancer



                                                    Java EE                  Java EE    ...   Java EE


                                                                             Database



17 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7 Is Not Just Cloud-y
 •  Alignment of ManagedBeans across CDI, EJB, JSF, …
           –  POJO à ManagedBean à Enterprise JavaBean
           –  Extension of container-managed transactions beyond EJB

 •  Further simplifications for ease-of-development
           –      JAX-RS 2.0 Client API, hypermedia, bean validation, …
           –      JMS 2.0 focus on ease-of-development
           –      Expanded use of dependency injection
           –      Expanded service metadata; improved configuration

 •  Pruning
           –  EJB CMP and BMP, JAX-RPC, Deployment API
 •  Update to Web Profile

18 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE 7 – Candidate JSRs

                                              Web                                                                                 Jcache 1.0
                                                                             JAX-RS              JSP 2.2
                                            Container
                                                                               2.0    JSF 2.2                                     (JSR 107)
       CDI                                 Extensions                                             EL 3.0
    Extensions




                                                                                                           Bean Validation 1.1
                                                                                                                                  Concurrency
                                                                               Servlet 3.1                                         Utilities 1.0

                                                                                                                                     State
                         CDI 1.1 / Interceptors 1.1 / JSR 250 1.1                                                                Management 1.0

                                                                                                                                     Batch
        Managed Beans 1.0                                                              EJB 3.2                                   Processing 1.0

                                       JPA 2.1, JTA 1.1                                         JMS 2.0                             JSON 1.0



19 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Transparency
 •  Oracle’s Java EE 7 JSRs are run in the open on java.net
           –  http://javaee-spec.java.net
           –  One project per spec – e.g., jpa-spec, jax-rs-spec, jms-spec…
 •  Publicly viewable Expert Group mail archive
           –  Users observer list gets copies of all Expert Group emails
 •  Publicly viewable download area
 •  Publicly viewable issue tracker
 •  Commitment to match JCP 2.8 Process

20 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Status and Schedule


 •  Nearly all JSRs up and running
 •  Remaining ones to be filed in next few weeks
 •  Final release target: Q3 2012
 •  Date-driven release: Anything not ready will be
    deferred to Java EE 8



21 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Java EE Roadmap
GlassFish v3                                                                          GlassFish Server 3.1            GlassFish Server 3.1.2
•  Java EE 6 support                                                                  •  Centralized administration   •  Bug Fixes
•  Single instance                                                                    •  Clustering / HA              •  Incremental features
•  GlassFish Enterprise Mgr                                                           •  GlassFish Server Control




 2009                                                            2010                                       2011                   2012


     GlassFish Server 3.0.1                                                             GlassFish Server 3.1.1        GlassFish Server 4
     •  Oracle branding                                                                 •  Bug fixes                  •  Java EE 7
     •  Oracle platform support                                                         •  Updated components         •  Multitenancy
     •  Oracle interoperability                                                         •  Incremental features       •  PaaS-enablement




         22 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
Call to Action

 •  Java EE 7 Expert Group Project
           – http://javaee-spec.java.net
 •  Java EE 7 Reference Implementation
           – http://glassfish.org
 •  The Aquarium
           –  http://blogs.oracle.com/theaquarium

23 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012
Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012
Java EE 7: Developing for the Cloud at Java Day, Istanbul, May 2012
 
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
Creating Quick and Powerful Web applications with Oracle, GlassFish and NetBe...
 
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
The Java EE 7 Platform: Developing for the Cloud  (FISL 12)The Java EE 7 Platform: Developing for the Cloud  (FISL 12)
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
 
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
 
Java EE 7: Developing for the Cloud at Geecon, JEEConf, Johannesburg
Java EE 7: Developing for the Cloud at Geecon, JEEConf, JohannesburgJava EE 7: Developing for the Cloud at Geecon, JEEConf, Johannesburg
Java EE 7: Developing for the Cloud at Geecon, JEEConf, Johannesburg
 
GlassFish REST Administration Backend
GlassFish REST Administration BackendGlassFish REST Administration Backend
GlassFish REST Administration Backend
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
PaaSing a Java EE 6 Application at Geecon 2012
PaaSing a Java EE 6 Application at Geecon 2012PaaSing a Java EE 6 Application at Geecon 2012
PaaSing a Java EE 6 Application at Geecon 2012
 
The Java EE 7 Platform: Developing for the Cloud
The Java EE 7 Platform: Developing for the CloudThe Java EE 7 Platform: Developing for the Cloud
The Java EE 7 Platform: Developing for the Cloud
 
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
OSGi & Java EE in GlassFish @ Silicon Valley Code Camp 2010
 
GlassFish REST Administration Backend at JavaOne India 2012
GlassFish REST Administration Backend at JavaOne India 2012GlassFish REST Administration Backend at JavaOne India 2012
GlassFish REST Administration Backend at JavaOne India 2012
 
JAX-RS 2.0: RESTful Web services on steroids
JAX-RS 2.0: RESTful Web services on steroidsJAX-RS 2.0: RESTful Web services on steroids
JAX-RS 2.0: RESTful Web services on steroids
 
JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012
JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012
JAX-RS 2.0: RESTful Web services on steroids at Geecon 2012
 
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
Running your Java EE 6 applications in the Cloud @ Silicon Valley Code Camp 2010
 
Java ee 7 platform developing for the cloud kshitiz saxena
Java ee 7 platform developing for the cloud   kshitiz saxenaJava ee 7 platform developing for the cloud   kshitiz saxena
Java ee 7 platform developing for the cloud kshitiz saxena
 
GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0GIDS 2012: Java Message Service 2.0
GIDS 2012: Java Message Service 2.0
 
GIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE ApplicationGIDS 2012: PaaSing a Java EE Application
GIDS 2012: PaaSing a Java EE Application
 
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the CloudTDC 2011: The Java EE 7 Platform: Developing for the Cloud
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
 
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!JUG Darmstadt - Java EE 7 - Auf in die Wolken!
JUG Darmstadt - Java EE 7 - Auf in die Wolken!
 
GlassFish in the Virtual World
GlassFish in the Virtual WorldGlassFish in the Virtual World
GlassFish in the Virtual World
 

Ähnlich wie Java EE Technical Keynote at JavaOne Latin America 2011

Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
Yogesh Bindwal
 
SPEC INDIA Java Case Study
SPEC INDIA Java Case StudySPEC INDIA Java Case Study
SPEC INDIA Java Case Study
SPEC INDIA
 
Tivoli Development Cloud Pennock Final Web
Tivoli Development Cloud Pennock Final WebTivoli Development Cloud Pennock Final Web
Tivoli Development Cloud Pennock Final Web
Kennisportal
 
彭—Elastic architecture in cloud foundry and deploy with openstack
彭—Elastic architecture in cloud foundry and deploy with openstack彭—Elastic architecture in cloud foundry and deploy with openstack
彭—Elastic architecture in cloud foundry and deploy with openstack
OpenCity Community
 
IBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile AppsIBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile Apps
Sanjeev Sharma
 
Java EE7: Developing for the Cloud
Java EE7: Developing for the CloudJava EE7: Developing for the Cloud
Java EE7: Developing for the Cloud
Dmitry Buzdin
 

Ähnlich wie Java EE Technical Keynote at JavaOne Latin America 2011 (20)

Java EE 7 and HTML5: Developing for the Cloud
Java EE 7 and HTML5: Developing for the CloudJava EE 7 and HTML5: Developing for the Cloud
Java EE 7 and HTML5: Developing for the Cloud
 
Sun Java EE 6 Overview
Sun Java EE 6 OverviewSun Java EE 6 Overview
Sun Java EE 6 Overview
 
JMS 2.0
JMS 2.0JMS 2.0
JMS 2.0
 
Java EE 7 - Into the Cloud
Java EE 7 - Into the CloudJava EE 7 - Into the Cloud
Java EE 7 - Into the Cloud
 
Introduction to java_ee
Introduction to java_eeIntroduction to java_ee
Introduction to java_ee
 
SPEC INDIA Java Case Study
SPEC INDIA Java Case StudySPEC INDIA Java Case Study
SPEC INDIA Java Case Study
 
Java EE7 in action
Java EE7 in actionJava EE7 in action
Java EE7 in action
 
Tivoli Development Cloud Pennock Final Web
Tivoli Development Cloud Pennock Final WebTivoli Development Cloud Pennock Final Web
Tivoli Development Cloud Pennock Final Web
 
JavaEE6
JavaEE6JavaEE6
JavaEE6
 
彭—Elastic architecture in cloud foundry and deploy with openstack
彭—Elastic architecture in cloud foundry and deploy with openstack彭—Elastic architecture in cloud foundry and deploy with openstack
彭—Elastic architecture in cloud foundry and deploy with openstack
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
 
IBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile AppsIBM Pulse 2013 session - DevOps for Mobile Apps
IBM Pulse 2013 session - DevOps for Mobile Apps
 
Handling Service Orchestration in the Cloud for GlassFish - JavaOne, San Fran...
Handling Service Orchestration in the Cloud for GlassFish - JavaOne, San Fran...Handling Service Orchestration in the Cloud for GlassFish - JavaOne, San Fran...
Handling Service Orchestration in the Cloud for GlassFish - JavaOne, San Fran...
 
Java EE Technical Keynote - JavaOne India 2011
Java EE Technical Keynote - JavaOne India 2011Java EE Technical Keynote - JavaOne India 2011
Java EE Technical Keynote - JavaOne India 2011
 
JavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUGJavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUG
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3
 
Java EE7: Developing for the Cloud
Java EE7: Developing for the CloudJava EE7: Developing for the Cloud
Java EE7: Developing for the Cloud
 
04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop
 
Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 

Mehr von Arun Gupta

Mehr von Arun Gupta (20)

5 Skills To Force Multiply Technical Talents.pdf
5 Skills To Force Multiply Technical Talents.pdf5 Skills To Force Multiply Technical Talents.pdf
5 Skills To Force Multiply Technical Talents.pdf
 
Machine Learning using Kubernetes - AI Conclave 2019
Machine Learning using Kubernetes - AI Conclave 2019Machine Learning using Kubernetes - AI Conclave 2019
Machine Learning using Kubernetes - AI Conclave 2019
 
Machine Learning using Kubeflow and Kubernetes
Machine Learning using Kubeflow and KubernetesMachine Learning using Kubeflow and Kubernetes
Machine Learning using Kubeflow and Kubernetes
 
Secure and Fast microVM for Serverless Computing using Firecracker
Secure and Fast microVM for Serverless Computing using FirecrackerSecure and Fast microVM for Serverless Computing using Firecracker
Secure and Fast microVM for Serverless Computing using Firecracker
 
Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019Building Java in the Open - j.Day at OSCON 2019
Building Java in the Open - j.Day at OSCON 2019
 
Why Amazon Cares about Open Source
Why Amazon Cares about Open SourceWhy Amazon Cares about Open Source
Why Amazon Cares about Open Source
 
Machine learning using Kubernetes
Machine learning using KubernetesMachine learning using Kubernetes
Machine learning using Kubernetes
 
Building Cloud Native Applications
Building Cloud Native ApplicationsBuilding Cloud Native Applications
Building Cloud Native Applications
 
Chaos Engineering with Kubernetes
Chaos Engineering with KubernetesChaos Engineering with Kubernetes
Chaos Engineering with Kubernetes
 
How to be a mentor to bring more girls to STEAM
How to be a mentor to bring more girls to STEAMHow to be a mentor to bring more girls to STEAM
How to be a mentor to bring more girls to STEAM
 
Java in a World of Containers - DockerCon 2018
Java in a World of Containers - DockerCon 2018Java in a World of Containers - DockerCon 2018
Java in a World of Containers - DockerCon 2018
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Introduction to Amazon EKS - KubeCon 2018
Introduction to Amazon EKS - KubeCon 2018Introduction to Amazon EKS - KubeCon 2018
Introduction to Amazon EKS - KubeCon 2018
 
Mastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv SummitMastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv Summit
 
Top 10 Technology Trends Changing Developer's Landscape
Top 10 Technology Trends Changing Developer's LandscapeTop 10 Technology Trends Changing Developer's Landscape
Top 10 Technology Trends Changing Developer's Landscape
 
Container Landscape in 2017
Container Landscape in 2017Container Landscape in 2017
Container Landscape in 2017
 
Java EE and NoSQL using JBoss EAP 7 and OpenShift
Java EE and NoSQL using JBoss EAP 7 and OpenShiftJava EE and NoSQL using JBoss EAP 7 and OpenShift
Java EE and NoSQL using JBoss EAP 7 and OpenShift
 
Docker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developersDocker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developers
 
Thanks Managers!
Thanks Managers!Thanks Managers!
Thanks Managers!
 
Migrate your traditional VM-based Clusters to Containers
Migrate your traditional VM-based Clusters to ContainersMigrate your traditional VM-based Clusters to Containers
Migrate your traditional VM-based Clusters to Containers
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Java EE Technical Keynote at JavaOne Latin America 2011

  • 1. Java EE 7: Developing for the Cloud Arun Gupta, Java EE & GlassFish Guy 1 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 2. Java EE 6 Platform December 10, 2009 2 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 3. Top Ten Features in Java EE 6 1.  EJB packaging in a WAR 2.  Servlet and CDI extension points 3.  Optional web.xml! 4.  Type-safe dependency injection 5.  CDI Events 6.  JSF standardizing on Facelets 7.  EJBContainer API 8.  @Schedule! 9.  EJB No Interface View 10. Web Profile 3 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 4. Java EE 6 Implementations Fastest implementations of a Java EE release ever! 4 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 5. •  Java EE 6 and Developer Productivity Simplified Deployment and Management with Virtualization Integrated Traffic Management Enhanced High Availability and Disaster Recovery Released Today Much Higher Performance Seamless Upgrade 5 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 6. Today’s Cloud Offerings are all Proprietary Infrastructure as Platform as Software as a Service a Service a Service 6 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 7. Java EE 7 7 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 8. Java EE 7 Focus: Platform as a Service •  Next logical step for Java EE –  J2EE à Java EE 6 : The Java EE Platform provides services –  Java EE 7 : The Java EE Platform IS a service •  PaaS support entails evolutionary change •  Provide way for customers and users to leverage public, private, and hybrid clouds 8 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 9. Roles Developer PaaS Provider PaaS Customer/ JVM JVM JVM JVM JVM JVM JVM JVM JVM Tenant Machine Machine Machine PaaS Product Provider JVM JVM JVM JVM JVM JVM JVM JVM JVM Deployer Machine Machine Machine PaaS Account Tenant 1 Tenant 2 Tenant 3 Manager Application Submitter PaaS Administrator Application Administrator 9 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 10. Existing Java EE model Database 1   Provision and Initialize Service •  Configure Java EE resources – JDBC, JMS etc LDAP Service •  Deploy Application EAR 2   Provision and Initialize Messaging 3   Provision and Initialize Service Application 4   Provision and Initialize Container 5   Deploy Application (EAR/ GAR/SAR …) 10 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 11. Java EE 7 Model: Auto-Provision Services from Application Dependencies •  Provision and deploy application 1   Provision and Initialize Cloud Administration Service resources (e.g. LDAP stripe, data source instantiation and Database Service connection …) 2   Provision and Initialize •  Extensible Deployment Models LDAP Supporting Multiple Frameworks 3   Provision and Initialize Service •  Spring, Seam, Play … Messaging 4   Provision and Initialize Service Application 5   Deploy Application (EAR/ GAR/SAR …) Container 11 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 12. Services •  Cloud apps consume services –  Persistence, queueing, mail, caching, … •  Service metadata facilitates ease of use when deploying into the cloud @DataSourceDefinition( name=“java:app/jdbc/myDB”, className=“oracle.jdbc.pool.OracleDataSource”, isolationLevel=TRANSACTION_REPEATABLE_READ, initialPoolSize=5 ) 12 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 13. Services •  Cloud apps consume services –  Persistence, queueing, mail, caching, … •  Service metadata facilitates ease of use when deploying into the cloud @JMSConnectionFactory ( name=“java:app/myJMSConnectionFactory”, resourceType=“javax.jms.QueueConnectionFactory”) @JMSDestination( name=“java:app/myQueue”, resourceType=“javax.jms.Queue”) 13 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 14. Java EE 7 Focus Area: Elasticity Java EE 7 Focus: Move the Bar Right Elasticity Continuum Java EE Cluster Elastic Cluster Elastic Cluster Capacity Ca on Demand Single node Java EE Multi-Node Dynamic Self Adjusting Non-Elastic Multi-Instance Clustering SLA Driven Elasticity •  Service Levels •  Minimum and Maximum Instances •  Futures – Self Adjustment, Capacity On Demand 14 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 15. Demo PaaSing a Java EE Application in the Cloud 15 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 16. Conference Planning in the Cloud Java EE Application JSF JPA Deploy Services EJB Metadata <glassfish-services> <service-description init-type="LB" name="ConferencePlanner-lb"> <template id="LBNative"/> <configurations> <configuration name="https-port" value="50443"/> <configuration name="ssl-enabled" value="false"/> <configuration name="http-port" value="50080"/> </configurations></service-description> <service-description init-type="JavaEE" name="ConferencePlanner"> http://glassfish.org/javaone2011 <characteristics> <characteristic name="service-type" value="JavaEE"/> </characteristics> <configurations> <configuration name="max.clustersize" value="4"/> <configuration name="min.clustersize" value="2"/> </configurations> </service-description> ... 16 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved. </glassfish-services>
  • 17. Service Provisioning Load Balancer Java EE Java EE ... Java EE Database 17 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 18. Java EE 7 Is Not Just Cloud-y •  Alignment of ManagedBeans across CDI, EJB, JSF, … –  POJO à ManagedBean à Enterprise JavaBean –  Extension of container-managed transactions beyond EJB •  Further simplifications for ease-of-development –  JAX-RS 2.0 Client API, hypermedia, bean validation, … –  JMS 2.0 focus on ease-of-development –  Expanded use of dependency injection –  Expanded service metadata; improved configuration •  Pruning –  EJB CMP and BMP, JAX-RPC, Deployment API •  Update to Web Profile 18 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 19. Java EE 7 – Candidate JSRs Web Jcache 1.0 JAX-RS JSP 2.2 Container 2.0 JSF 2.2 (JSR 107) CDI Extensions EL 3.0 Extensions Bean Validation 1.1 Concurrency Servlet 3.1 Utilities 1.0 State CDI 1.1 / Interceptors 1.1 / JSR 250 1.1 Management 1.0 Batch Managed Beans 1.0 EJB 3.2 Processing 1.0 JPA 2.1, JTA 1.1 JMS 2.0 JSON 1.0 19 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 20. Transparency •  Oracle’s Java EE 7 JSRs are run in the open on java.net –  http://javaee-spec.java.net –  One project per spec – e.g., jpa-spec, jax-rs-spec, jms-spec… •  Publicly viewable Expert Group mail archive –  Users observer list gets copies of all Expert Group emails •  Publicly viewable download area •  Publicly viewable issue tracker •  Commitment to match JCP 2.8 Process 20 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 21. Status and Schedule •  Nearly all JSRs up and running •  Remaining ones to be filed in next few weeks •  Final release target: Q3 2012 •  Date-driven release: Anything not ready will be deferred to Java EE 8 21 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 22. Java EE Roadmap GlassFish v3 GlassFish Server 3.1 GlassFish Server 3.1.2 •  Java EE 6 support •  Centralized administration •  Bug Fixes •  Single instance •  Clustering / HA •  Incremental features •  GlassFish Enterprise Mgr •  GlassFish Server Control 2009 2010 2011 2012 GlassFish Server 3.0.1 GlassFish Server 3.1.1 GlassFish Server 4 •  Oracle branding •  Bug fixes •  Java EE 7 •  Oracle platform support •  Updated components •  Multitenancy •  Oracle interoperability •  Incremental features •  PaaS-enablement 22 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.
  • 23. Call to Action •  Java EE 7 Expert Group Project – http://javaee-spec.java.net •  Java EE 7 Reference Implementation – http://glassfish.org •  The Aquarium –  http://blogs.oracle.com/theaquarium 23 | Copyright © 2011, Oracle and/or it’s affiliates. All rights reserved.