Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Lightweight Java in the Cloud
The state of Java server-side apps
and how they can run on Oracle Java SE Cloud Service
Bruno Borges - @brunoborges
Oracle Cloud Platform
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
•Bruno Borges
–Product Manager / Developer Advocate
–Oracle Cloud Platform
–Twitter: @brunoborges
Speaker
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
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.
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Why Move to the Cloud?
Better applications
developed faster
and cheaper
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Why Move to the Cloud?
Better applications
developed faster
and cheaper
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 7
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
The Java Ecosystem
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Spring Boot
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Ratpack
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
WildFly Swarm
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
SparkJava
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 15
Integrated Oracle Cloud Services
for a DevOps Culture
Developer Cloud Service
Developer
GIT
Hudson
Push code
Submit bugs
Shareon 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. |
Java Cloud Service
PaaS 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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Easily build cloud native applications leveraging available cloud services
Integrated Oracle Public Cloud Services
Java Java (SE) Node.js Compute Storage
Messaging Process
InfrastructurePlatform
Business
Intelligence
Database
Backup
Big Data Big Data
Discovery
Mobile
Data
For Sales For Marketing
For Social
Integration
Documents
Database
Developer
Database
Schema / PDB
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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)
@brunoborges
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
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
@brunoborges
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

Lightweight Java in the Cloud

  • 1.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Lightweight Java in the Cloud The state of Java server-side apps and how they can run on Oracle Java SE Cloud Service Bruno Borges - @brunoborges Oracle Cloud Platform @brunoborges
  • 2.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | •Bruno Borges –Product Manager / Developer Advocate –Oracle Cloud Platform –Twitter: @brunoborges Speaker @brunoborges
  • 3.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement 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. @brunoborges
  • 4.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Why Move to the Cloud? Better applications developed faster and cheaper @brunoborges
  • 5.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Why Move to the Cloud? Better applications developed faster and cheaper @brunoborges
  • 6.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 7
  • 7.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | The Java Ecosystem @brunoborges
  • 8.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Spring Boot @brunoborges
  • 9.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Ratpack @brunoborges
  • 10.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | WildFly Swarm @brunoborges
  • 11.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | SparkJava @brunoborges
  • 12.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 13.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 15 Integrated Oracle Cloud Services for a DevOps Culture Developer Cloud Service Developer GIT Hudson Push code Submit bugs Shareon 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, ...
  • 14.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Java Cloud Service PaaS 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 @brunoborges
  • 15.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 16.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 17.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | Easily build cloud native applications leveraging available cloud services Integrated Oracle Public Cloud Services Java Java (SE) Node.js Compute Storage Messaging Process InfrastructurePlatform Business Intelligence Database Backup Big Data Big Data Discovery Mobile Data For Sales For Marketing For Social Integration Documents Database Developer Database Schema / PDB @brunoborges
  • 18.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 19.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 20.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 21.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 22.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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) @brunoborges
  • 23.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | 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 @brunoborges
  • 24.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | For More Information cloud.oracle.com/java
  • 25.
    Copyright © 2015,Oracle and/or its affiliates. All rights reserved. | @brunoborges