Post on 16-Aug-2015
@brunoborgesCopyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Lightweight Java in the CloudThe state of Java server-side apps and how they can run on Oracle Java SE Cloud Service
Bruno Borges - @brunoborgesOracle Cloud Platform
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
•Bruno Borges–Product Manager / Developer Advocate–Oracle Cloud Platform
–Twitter: @brunoborges
Speaker
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Safe Harbor StatementThe 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.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Why Move to the Cloud?
Better applicationsdeveloped fasterand cheaper
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Why Move to the Cloud?
Better applicationsdeveloped fasterand cheaper
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 7
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
The Java Ecosystem
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Spring Boot
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Ratpack
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
WildFly Swarm
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
SparkJava
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Platform as a Service
Bring Oracle’s leading Database and Middleware Technology Software to customers and partners anywhere in the World through the Internet
Infrastructure as a Service
Software as a Service
Data as a Service
Industry’s Most Comprehensive Cloud Platform Strategy
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 15
Integrated Oracle Cloud Servicesfor a DevOps Culture
Developer Cloud Service
Developer
GITHudson
Push codeSubmit bugsShareon Wiki
Java Cloud Service
WebLogic
Load Balancer
WebLogic WebLogic
(coming soon)
Java SE Cloud Service
Java SE
Load Balancer
Java SE Java SEDeploy Directly
Continuous Delivery
Messaging Cloud Service
Storage Cloud Service
Database Cloud Service
BigData, Mobile, Integration, Process, ...
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java Cloud ServicePaaS for Java EE applications
• Oracle WebLogic with ease
• Self-service application platform with advanced cloud tools
• Save time and cost with simplified provisioning
• Reduce down time: automated patching, backup, recovery
• Increase data and processing capacity on demand to scale for new business needs
• Includes Oracle Coherence for caching and data grid functions and Oracle Traffic Director for load balancing
• Pre-configured for Database and Developer Cloud Services for complete cloud application management
JAVA CLOUD SERVICE
Key Oracle Cloud component
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE Cloud Service
• Choose Java SE 7 or Java SE 8 • With advanced features like Flight Recorder & Mission Control•On-Demand scale in and out. • Easily add or remove application instances to meet demand•One click upgrade between major and minor releases
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Develop, Package and Run• Build any Java application with a main class– static void main(String args[])
• Inside you do whatever you want• Use 3rd-party libraries and frameworks– By defining Apache Maven dependencies
• Build a runnable “fat JAR” (that includes all dependencies) or ZIP file with runnable shell script to start your application• Integrate with Oracle Cloud and external services– Connect to the database, call REST APIs, etc
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Easily build cloud native applications leveraging available cloud servicesIntegrated Oracle Public Cloud Services
Java Java (SE) Node.js Compute Storage
Messaging Process
InfrastructurePlatform
BusinessIntelligence
DatabaseBackup
Big Data Big DataDiscovery Mobile
Data
For Sales For Marketing
For Social Integration
Documents
Database
Developer
DatabaseSchema / PDB
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Deploying Applications to Java SE Cloud Service
• Applications deployed as archives– Packaging all required Jars, HTML files, images, scripts etc. – Structure and content of the archive are user defined
• User defined application launch command– Start Java application directly or through a script– Control over all command line args and switches
• Define environment variables and hostname mappings to configure application for cloud deployment environment
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE Cloud Service Features
• Applications run inside certified Oracle Linux containers• User selectable amount of RAM per application—usage charged in GB-
hours• Stateless Applications– Ephemeral disk– Permanent storage through database or storage service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE Cloud Service Features (cont.)
• No Backup Required—applications are stateless• No Patching Required—uptake of new releases of Java by upgrading• Simple archive deployment from on-premise or from Developer Cloud
Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE Cloud Service Architecture
Developer
Java SE Cloud Service
Java SE Java SE Java SE
Load Balancer…
Messaging Cloud Service
Storage Cloud Service
Database Cloud Service
Java Cloud Service
Developer Cloud Service
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE, Node Cloud Service
Tenant 2
Java SE Cloud Service Architecture
Developer
Java SE Cloud Service
Load Balancer
…
Messaging Cloud Service
Storage Cloud Service
Database Cloud Service
Java Cloud Service
Java SE(app1)
Developer Cloud Service
Tenant 1
Java SE(app1)
Java SE(app2)Java SE
(app2)
Node.js(app3)Java SE
(app3)
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges
Java SE Cloud Service Use Cases
New App DevelopmentMigrate Apps to Cloud
• Born-in-the-cloud apps• Preconfigured for PaaS• Broad technology support• Light-weight environment
• Easy “rehosting” of apps• Latest Java updates• Cloud management• Connect to PaaS services
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
For More Information
cloud.oracle.com/java
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @brunoborges