paasing a java ee application
TRANSCRIPT
![Page 1: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/1.jpg)
1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
![Page 2: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/2.jpg)
2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaSing a Java EE Application
Kshitiz Saxena Jagadish Ramu
![Page 3: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/3.jpg)
3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
San Francisco September 30–October 4, 2012
![Page 4: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/4.jpg)
4 Copyright © 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.
![Page 5: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/5.jpg)
5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Agenda
• Cloud Computing• PaaS and Java EE• PaaS implications on application deployment• Design Model• Resources
![Page 6: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/6.jpg)
6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Cloud Computing
Illusion of infinite computing resources available on demand
Elimination of an up-front commitment by cloud users
Ability to pay for use of computing resources on a short-term basis
What’s new?
(+) Above the Clouds, Armbrust et al, UC Berkeley, 2009
![Page 7: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/7.jpg)
7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Cloud Computing
On-demand Self-Service
Broad network access
Resource Pooling
Rapid Elasticity
Measured Service
Essential Characteristics
(*) NIST Definition of Cloud Computing – 800-145
![Page 8: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/8.jpg)
8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Cloud Computing
Private Cloud– Operated solely for an organization– On-premise or off-premise
Community Cloud
Public Cloud– Access to general public
Hybrid Cloud– 2 or more clouds, Cloud Bursting
Deployment Models
(*) NIST Definition of Cloud Computing – 800-145
![Page 9: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/9.jpg)
9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Cloud Computing
Software as a Service (SaaS)
Platform as a Service (PaaS)– Deploy customer-created applications– Using languages and tools supported by PaaS Provider– No control of underlying cloud infrastructure– Control over deployed applications, hosting env. Configurations
Infrastructure as a Service (IaaS)
Service Models
(*) NIST Definition of Cloud Computing – 800-145
![Page 10: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/10.jpg)
10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
![Page 11: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/11.jpg)
11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS and Java EE
Common programming model for enterprise developers
Runtime handles application’s infrastructure concerns
Declarative resource references
Scalable (scale-out) component models
Java EE design principles and capabilities
![Page 12: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/12.jpg)
12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS and Java EE
Enhancements– New Roles for PaaS– Services as first class citizens– Multitenancy
Evolution, not a revolution!
Java EE 7: “Making Java EE ready for the cloud”
![Page 13: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/13.jpg)
13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
New PaaS Roles in Java EE 7
PaaS Product Vendor
PaaS Provider
PaaS Account Manager
PaaS Customer
Application Submitter
Application Administrator
End-User
![Page 14: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/14.jpg)
14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Java EE 7 Roles in a PaaS scenario
![Page 15: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/15.jpg)
15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
![Page 16: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/16.jpg)
16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS Implications on Deployment
Simplified PaaS Application Deployment• Single-click, self-service, “push to cloud”
![Page 17: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/17.jpg)
17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS Implications on Deployment
Automatic Service Provisioning and Management– Service Orchestration
• Automatic Service Dependency discovery• Service Provisioning and Association
– Handle operational infrastructure concerns automatically• Network configuration, HA, Clustering, Load Balancing …
– Application and Service deployment versioning
Services Management
![Page 18: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/18.jpg)
18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS Implications on Deployment
Scalable virtualized on-demand environment– Support multiple cloud deployment models
• Public, Private, Hybrid
– PaaS Provider decoupled from IaaS infrastructure– Multi-tenancy
Virtualized runtimes
![Page 19: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/19.jpg)
19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS Implications on Deployment
Automatic Scaling of Services– Scale to application’s needs– User-defined alerts and actions
Control over application hosting environment– Flexibility in choice of application services, framework– Rich service configuration– Shared services– Extensible runtime to allow new Services
Scaling and Operations
![Page 20: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/20.jpg)
20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
A sample application stack
![Page 21: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/21.jpg)
21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Traditional Java EE Application Deployment
![Page 22: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/22.jpg)
22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Java EE PaaS Application Deployment
![Page 23: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/23.jpg)
23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaSing a Java EE Application in the Cloud
Demo
![Page 24: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/24.jpg)
24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Conference Planning in the Cloud
![Page 25: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/25.jpg)
25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
PaaS Deployment for Demo
![Page 26: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/26.jpg)
26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
![Page 27: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/27.jpg)
27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Terminology
Service
ServiceType– Java EE, RDBMS, HTTP Load Balancer etc.
Services – scope and lifecycle– Provisioned Services
• Application scoped• Shared
– External (a priori ) services
![Page 28: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/28.jpg)
28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Specification of Service Metadata
Optional!– When not specified (vanilla EE app archives)
• Orchestration Engine automatically handles discovery of service deps• Automatic wiring to default Service Templates
– Metadata may be specified when:• Finer grain control of application environment desired• Application-specific Service configuration
![Page 29: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/29.jpg)
29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Design Model
![Page 30: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/30.jpg)
30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Specification of Service Metadata
Service Definition– Metadata used to provision and configure a Service
• What : Service characteristics (functional and non-functional) → Template matching• How : Explicit Template specification → Template wiring
Service Reference– An application component’s dependency on a Service
• Explicit : User-specified through deployment descriptors• Implicit and Discovered: Information contained within the archive
![Page 31: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/31.jpg)
31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Service Dependency Specification
![Page 32: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/32.jpg)
32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Sample Service Definition
![Page 33: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/33.jpg)
33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Sample Service Reference
![Page 34: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/34.jpg)
34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
GlassFish PaaS Runtime Architecture
![Page 35: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/35.jpg)
35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Service Orchestration Flow
![Page 36: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/36.jpg)
36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
![Page 37: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/37.jpg)
37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
![Page 38: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/38.jpg)
38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Resources
GlassFish 4.0 http://download.java.net/glassfish/4.0/promoted/– Spec http://bit.ly/sAZtEL– Java EE 7 keynote demo http://bit.ly/q9T7Z2
Java EE 7 http://jcp.org//en/jsr/detail?id=342– PaaS Model http://bit.ly/o3XZIP
Above the Clouds: A Berkeley View of Cloud Computing http://bit.ly/15MEL0
The NIST Definition of Cloud Computing -- Special Publication 800-145 http://1.usa.gov/ohXnlM
For more information
![Page 39: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/39.jpg)
39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Q&A
![Page 40: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/40.jpg)
40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
![Page 41: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/41.jpg)
41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
Classic Duke Future Tech Duke
![Page 42: PaaSing a Java EE Application](https://reader034.vdocuments.us/reader034/viewer/2022042715/558fd9561a28ab87528b45a3/html5/thumbnails/42.jpg)
42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8