Contenu connexe
Similaire à PaaSing a Java EE Application (20)
PaaSing a Java EE Application
- 1. 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 2. PaaSing a Java EE Application
Kshitiz Saxena
Jagadish Ramu
2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 3. San Francisco
September 30–October 4, 2012
3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 4. 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.
4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 5. Agenda
• Cloud Computing
• PaaS and Java EE
• PaaS implications on application deployment
• Design Model
• Resources
5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 6. Cloud Computing
What’s new?
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
(+) Above the Clouds, Armbrust et al, UC Berkeley, 2009
6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 7. Cloud Computing
Essential Characteristics
On-demand Self-Service
Broad network access
Resource Pooling
Rapid Elasticity
Measured Service
(*) NIST Definition of Cloud Computing – 800-145
7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 8. Cloud Computing
Deployment Models
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
(*) NIST Definition of Cloud Computing – 800-145
8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 9. Cloud Computing
Service Models
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)
(*) NIST Definition of Cloud Computing – 800-145
9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 10. Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 11. PaaS and Java EE
Java EE design principles and capabilities
Common programming model for enterprise developers
Runtime handles application’s infrastructure concerns
Declarative resource references
Scalable (scale-out) component models
11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 12. PaaS and Java EE
Java EE 7: “Making Java EE ready for the cloud”
Enhancements
– New Roles for PaaS
– Services as first class citizens
– Multitenancy
Evolution, not a revolution!
12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 13. New PaaS Roles in Java EE 7
PaaS Product Vendor
PaaS Provider
PaaS Account Manager
PaaS Customer
Application Submitter
Application Administrator
End-User
13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 14. Java EE 7 Roles in a PaaS scenario
14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 15. Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 16. PaaS Implications on Deployment
Simplified PaaS Application Deployment
• Single-click, self-service, “push to cloud”
16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 17. PaaS Implications on Deployment
Services Management
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
17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 18. PaaS Implications on Deployment
Virtualized runtimes
Scalable virtualized on-demand environment
– Support multiple cloud deployment models
• Public, Private, Hybrid
– PaaS Provider decoupled from IaaS infrastructure
– Multi-tenancy
18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 19. PaaS Implications on Deployment
Scaling and Operations
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
19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 20. A sample application stack
20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 21. Traditional Java EE Application Deployment
21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 22. Java EE PaaS Application Deployment
22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 23. Demo
PaaSing a Java EE Application in the Cloud
23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 24. Conference Planning in the Cloud
24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 25. PaaS Deployment for Demo
25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 26. Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 27. Terminology
Service
ServiceType
– Java EE, RDBMS, HTTP Load Balancer etc.
Services – scope and lifecycle
– Provisioned Services
• Application scoped
• Shared
– External (a priori ) services
27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 28. 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
28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 29. Design Model
29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 30. 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
30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 31. Service Dependency Specification
31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 32. Sample Service Definition
32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 33. Sample Service Reference
33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 34. GlassFish PaaS Runtime Architecture
34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 35. Service Orchestration Flow
35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 36. 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 37. Program Agenda
Cloud Computing
PaaS and Java EE
PaaS implications on application deployment
Design Model
Resources
37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 38. Resources
For more information
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
38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 39. Q&A
39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 40. 40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 41. Classic Duke Future Tech Duke
41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8
- 42. 42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8