1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7: Developing.

Slides:



Advertisements
Similar presentations
Developing Java Applications in the Cloud: Oracle Java Cloud Service
Advertisements

C2: Introduction to OpenEdge® Integration Technologies
1
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Distributed Systems Architectures
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) Customer Supplier Customer authorizes Enrollment ( )
HL7 Project Management Tool Overview for HL7 Project Facilitators
1 Hyades Command Routing Message flow and data translation.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination. Introduction to the Business.
Communicating in J2EE.
19 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Developing Web Services.
21 Copyright © 2005, Oracle. All rights reserved. Oracle Application Server 10g Transaction Support.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
4 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: Servlets.
16 Copyright © 2005, Oracle. All rights reserved. Developing Message-Driven Beans.
11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
15 Copyright © 2005, Oracle. All rights reserved. Container-Managed Relationships (CMRs)
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
8 Copyright © 2005, Oracle. All rights reserved. Creating the Web Tier: JavaServer Pages.
J2EE Overview.
6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
1 CREATING AN ADMINISTRATIVE DRAW REQUEST (OCC) Complete a Checklist for Administrative Draw Requests (Form 16.08). Draw Requests amount must agree with.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Create an Application Title 1A - Adult Chapter 3.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
© Tally Solutions Pvt. Ltd. All Rights Reserved Shoper 9 License Management December 09.
Auto-scaling Axis2 Web Services on Amazon EC2 By Afkham Azeez.
Course Objectives After completing this course, you should be able to:
13 Copyright © 2005, Oracle. All rights reserved. Monitoring and Improving Performance.
ACT User Meeting June Your entitlements window Entitlements, roles and v1 security overview Problems with v1 security Tasks, jobs and v2 security.
PP Test Review Sections 6-1 to 6-6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1 Taiwan ITQ.
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 Presenter: Josh Stuckey, Manager Harris County Permits Northwest Freeway Suite 120 Houston, Texas
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
GEtServices Services Training For Suppliers Requests/Proposals.
Analyzing Genes and Genomes
To the Assignments – Work in Progress Online Training Course
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
Introduction Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September 9, 2010.
Oracle User Productivity Kit Professional Ensuring Success with Oracle Apps
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Reporting from Contract.
CON Software-Defined Networking in a Hybrid, Open Data Center Krishna Srinivasan Senior Principal Product Strategy Manager Oracle Virtual Networking.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
Oracle Java Cloud Service Oracle Develop July 2013.
Presentation transcript:

1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7: Developing for the Cloud Arun Gupta, Java EE & GlassFish Guy

2Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

3Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 6 Platform December 10, 2009

4Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 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 9.EJB No Interface View 10.Web Profile

5Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 6 Implementations Fastest implementations of a Java EE release ever!

6Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Today’s Cloud Offerings are all Proprietary Infrastructure as a Service Platform as a Service Software as a Service

7Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7

8Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 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

9Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7 PaaS Roadmap Define new platform roles to accommodate PaaS model Add metadata –For service provisioning and configuration –For QoS, elasticity –For sharing of applications and resources –For (re)configurability and customization Add useful APIs for cloud environment –JAX-RS client API, Caching API, State Management, JSON,… Extend existing APIs with support for multi-tenancy

10Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Cloud Services, Not Just APIs Tenant applications consume services PaaS administrators host, configure, and manage application and infrastructure services Existing APIs in Java EE need to be updated to be service-enabled and tenant-aware –Example: pluggable services Queuing Service Persistence Service Caching Service Security Service Infrastructure as a Service Platform as a Service - Services … Provisioning Service File Service PaaS Infrastructure Services … Java EE Application Level Services Tenant App VirtVIPVLANVolumeLBR IaaS Infrastructure Services …

11Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Roles Developer PaaS Customer/ Tenant Application Submitter Application Administrator PaaS Provider PaaS Product Provider PaaS Account Manager PaaS Administrator Deployer Tenant 1Tenant 2Tenant 3 Machine JVM Machine JVM Machine JVM Machine JVM Machine JVM Machine JVM

12Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Existing Java EE model Configure Java EE resources – JDBC, JMS etc Deploy Application EAR Database Service LDAP Service Provision and Initialize 3 Messaging Service Application Container Deploy Application (EAR/GAR/SAR …)

13Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7 Model: Auto-Provision Services from Application Dependencies Provision and deploy application resources (e.g. LDAP stripe, data source instantiation and connection …) Extensible Deployment Models Supporting Multiple Frameworks Spring, Seam, Play … Database Service Cloud Administration Service LDAP Service Provision and Initialize 3 Messaging Service Application Container Deploy Application (EAR/GAR/SAR …)

14Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Services Cloud apps consume services –Persistence, queueing, mail, caching, … Service metadata facilitates ease of use when deploying into the name=“java:app/jdbc/myDB”, className=“oracle.jdbc.pool.OracleDataSource”, isolationLevel=TRANSACTION_REPEATABLE_READ, initialPoolSize=5 )

15Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Services Cloud apps consume services –Persistence, queueing, mail, caching, … Service metadata facilitates ease of use when deploying into the ( name=“java:app/myJMSConnectionFactory”, name=“java:app/myQueue”, resourceType=“javax.jms.Queue”)

16Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Services Cloud apps consume services –Persistence, queueing, mail, caching, … Service metadata facilitates ease of use when deploying into the ( name=“java:app/mailSession”, )

17Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Services Cloud apps consume services –Persistence, queueing, mail, caching, … Service metadata facilitates ease of use when deploying into the ( name=“java:app/myCustomConnector”, type=“com.extraServices.customConnector.class”, properties = {…} )

18Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Elasticity Service Levels Minimum and Maximum Instances Futures – Self Adjustment, Capacity On Demand Elasticity Continuum Single node Non-Elastic Dynamic Self Adjusting SLA Driven Elasticity Java EE Multi-Node Multi-Instance Clustering Java EE 7 Focus: Move the Bar Right Java EE Cluster Ca Elastic Cluster Capacity on Demand Elastic Cluster

19Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Example Scenario “A software company writes an application, submits it to a PaaS provider, then any number of tenants sign up for the application, deploy it, their end users access it”

20Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (1) DiabloCloud SimplyCRM

21Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (2) SimplyCRM Application Developer Application Developer App Writes DiabloCloud

22Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (3) PaaS Account Manager PaaS Customer Signs up as a customer SimplyCRM DiabloCloud

23Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (4) Application Submitter Application Submitter App Submits the application System Administrator SimplyCRM DiabloCloud

24Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (5) ExtraServices App Discovers DiabloCloud

25Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (6) PaaS Customer Signs up as a customer DiabloCloud ExtraServices PaaS Account Manager App

26Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 App Walkthrough (7) Deployer Customizes and deploys the application DiabloCloud ExtraServices System Administrator

27Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 App Walkthrough (8) Provisions on Cloud infrastructure DiabloCloud ExtraServices System Administrator Deployer

28Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (9) Provisioned and Deployed App DiabloCloud ExtraServices System Administrator Deployer

29Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (10) End-Users Access the application DiabloCloud ExtraServices Provisioned and Deployed App

30Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (11) End-Users Access the application Administrator Administers the application DiabloCloud ExtraServices Provisioned and Deployed App

31Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Walkthrough (12) Monitors DiabloCloud ExtraServices System Administrator End-Users Access the application Administrator Administers the application Provisioned and Deployed App

32Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Demo PaaSing a Java EE Application in the Cloud

33Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Conference Planning in the Cloud Java EE Application Deploy EJB Services Metadata JSF JPA

34Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Service Provisioning DatabaseDatabase Java EE... Load Balancer

35Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Multi-tenancy in Java EE 7 Support for separate isolated instances of the same app for different tenants –One application instance per tenant –Tenants correspond to units of isolation –Multitenant apps are declared as such –Each instance customized and deployed for a single tenant –Limited form of SaaS Mapping to tenant done by the container Tenant id available to application –E.g., under java:comp/tenantId

36Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 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

37Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7 – Candidate JSRs JPA 2.1 Managed Beans 1.0 EJB 3.2 CDI 1.1 / Interceptors 1.1 / JSR Servlet 3.1 CDI Extension s CDI Extension s JSP 2.2 EL 3.0 JSF 2.2 JAX-RS 2.0 Web Container Extensions Bean Validation 1.1 JMS 2.0 Jcache 1.0 (JSR 107) Concurrency Utilities 1.0 Concurrency Utilities 1.0 State Management 1.0 Batch Processing 1.0 JSON 1.0 JTA 1.1

38Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Transparency Oracle’s Java EE 7 JSRs are run in the open on 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 s Publicly viewable download area Publicly viewable issue tracker Commitment to update to JCP 2.8 Process

39Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Status and Schedule All JSRs up and running Early Drafts: JSF 2.2, JAX-RS 2.0, JPA 2.1, CDI 1.1 Final release target: Q Date-driven release: Anything not ready will be deferred to Java EE 8

40Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 GlassFish Roadmap GlassFish Server Bug Fixes Incremental features GlassFish Server Bug Fixes Incremental features GlassFish Server 3.1 Centralized administration Clustering / HA GlassFish Server Control GlassFish Server 3.1 Centralized administration Clustering / HA GlassFish Server Control 2012 GlassFish Server 4 Java EE 7 Multitenancy PaaS-enablement GlassFish Server 4 Java EE 7 Multitenancy PaaS-enablement GlassFish v3 Java EE 6 support Single instance GlassFish Enterprise Mgr GlassFish v3 Java EE 6 support Single instance GlassFish Enterprise Mgr GlassFish Server Oracle branding Oracle platform support Oracle interoperability GlassFish Server Oracle branding Oracle platform support Oracle interoperability GlassFish Server Bug fixes Updated components Incremental features GlassFish Server Bug fixes Updated components Incremental features

41Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Call to Action Java EE 7 Expert Group Project – Java EE 7 Reference Implementation – The Aquarium –

42Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Java EE 7: Developing for the Cloud Arun Gupta, Java EE & GlassFish Guy

43Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8