lift & shift - java entwicklung in der oracle cloud mit ...the following is intended to outline...

35

Upload: others

Post on 12-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing
Page 2: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

lift & shift - Java Entwicklung in der Oracle Cloud mit dem Java Cloud Service

Peter Doschkinow Senior Java Architect Oracle Deutschland May 2015

Page 3: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

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.

3

Page 4: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Agenda

• Java Cloud Service (JCS)

– Introduction

– Components

– Features

– Integration with Developer Cloud Service (DCS)

• Demos

– Shifting a simple Java EE app from on-premise to JCS

– Extending a HTML5 app with HA and scalability features and deploying it to a JCS, configured with Coherence

Page 5: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

*Source: Computerworld Strategic Marketing Services, February-March 2014 Cloud Survey **Source: GigaOM Research and VC North Bridge

Cloud is Mainstream

• Using Cloud today or will be in Two Years

84%

Top Cloud Benefits

• Greater Agility • Lower Cost • Better Resource Utilization

>80%

PaaS Growing Rapidly

• Will adopt PaaS within Five Years

~90%

Cloud and PaaS Adoption: On Fire!

Page 6: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

IDEN

TITY

C

LOU

D

MO

NIT

OR

ING

CLO

UD

SITES CLOUD MOBILE CLOUD

INTEGRATION CLOUD

DATA ENRICHMENT CLOUD

NODE.JS CLOUD

Cloud On-Premise

Web Social Internet of Things

DATA INTEGRATION CLOUD

JAVA CLOUD DEVELOPER CLOUD

AN

AYT

ICS

CLO

UD

INTERNET OF THINGS CLOUD

Oracle Fusion Middleware – Cloud Services Rollout Schedule (inderjeet Singh EVP – NAS FMW All-hands) https://oraclemeetings.webex.com/oraclemeetings/ldr.php?RCID=07cd32a8fabf0cfb679153eace9165d8

Now Now

Now Now Now

Now

Now

H2CY15 + H2CY15 + H2CY15 +

H2CY15 +

H2CY15 +

H2CY15 +

H2CY15 + H2CY15 +

Mobile

PROCESS CLOUD

DOCUMENTSCLOUD

BUSINESS INTELLIGENCE CLOUD

6

Page 7: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

JAVA CLOUD SERVICE

Java Cloud Service: Three Options

7

JAVA CLOUD SERVICE SAAS EXTENSION

• Easy to enrich Oracle SaaS apps

• Tailored-made WebLogic Server for rapid extension deployment

• Ready marketplace with pre-built extensions, automated deployment

Full-featured Service JAVA CLOUD SERVICE

VIRTUAL IMAGE

• Simple, hosted WebLogic instance

• Oracle controlled, updated

Page 8: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

• Fully managed • Dedicated VMs • Sizes - 1 node, 2 node, 4 node • Integrated with Shared IDM

to federate with SaaS services • Simplified consoles, tooling

SaaS Extension Purpose-built for SaaS

Virtual Image VM + WLS + Simple Provisioning • Oracle approved image with simple,

automated provisioning of WebLogic domain

• No other lifecycle tooling in cloud • Product same as on premise

Java Cloud Service VM + WLS + Cloud Automation • Advanced provisioning • Backup/Recovery automation • Patching/Rollback automation • Scale OUT/IN automation • Monitoring & management

Oracle Java Cloud Services - Offerings

• Oracle Linux 6.4 • Choice of software editions SE, EE and Suite • Choice of product version - 12c (12.1.2), and 11g (11.1.1.1.7) • On-demand storage & compute • Full network, VM and OS isolation, with SSH access into VM with root privilege • Customer controlled lifecycle, using full cloud automation • REST APIs for all lifecycle operations including provisioning

Java Cloud Service Full WebLogic Instance with VM access

Production September 2014

Production October 2012

Java Cloud Service – SaaS Ext Limited WebLogic Instance NO VM access

Page 9: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service Main Use Cases

9

Dev/Test in the Cloud New App Development Strategic Outsourcing Recapture

Migrate Apps to Cloud

Page 10: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service: Development/Testing

10

• Dev/test in the cloud – deploy anywhere

• Faster spin-up of dev/test instances – get to market faster!

• Integrated developer environment with Developer Cloud Service

• Consolidate with standardization

• Focus on app development, not the infrastructure idiosyncrasies

• Lower cost On Premises/Private Cloud

Page 11: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service: New App Development in the Cloud

11

• Make your cloud apps smarter with a fully-integrated platform – upper-stack as well as run time

• Leverage existing Java skills to build cloud-native applications

• Broad cloud service portfolio to meet all technical needs

• Preconfigured access to data sources with Database Cloud Service

• Integrated cloud development environment with Developer Cloud Service

• Lower your overall cost

• Active marketplace for app promotion

Page 12: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service: Application Migration to Cloud Lift-and-shift your apps

12

• Lower cost – no data centers

• Easy, fast scalability to meet growing needs

• Reduce ongoing management cost with OOTB tooling for production class operations – backup, restore, manage, monitor, scale, patch

• Standardization and consolidation

• Flexibility to move back to on-premise with Exalogic

• Same platform you use on-premises & REST APIs for easy migration

Page 13: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service: Outsourced Workloads

13

JAVA CLOUD SERVICE

• Recapture control of your IT infrastructure and processes - perfect if you’ve strategically outsourced your IT

• Faster, more agile for LOB than traditional provisioning

• Allows end-user, self-service provisioning in minutes, versus lengthy processes that can take months

Page 14: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service Feature: Provisioning

14

• Can pick shape/size – no complexity

• Choose from popular versions: 11g (PS 6) or 12c (12.1.3)

• Meet evolving technical and budgetary needs with popular Edition choices: Standard, Enterprise, Suite

Page 15: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Provisioning Topology

Oracle Confidential – Internal

15

Page 16: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved. 16

Java Cloud Service Feature: Patching

• Patching made simple – we handle the details

• You control patch timing - on demand or scheduled

• Includes unified patching of OS, JDK, WLS, JRF/ADF

• Supports rolling patching

• Supports Patchset Updates (PSUs), Patchsets (PS), Upgrades

• Don’t mess with backups! Full backup created before patching

Page 17: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service Feature: Backup / Restore

17

• Coordinated backups with database and whole cloud stack - holistic backups

• You choose - scheduled or on demand

• Multiple depths supported: configuration/apps, logs, binaries, and database

• Configurable: 7 day backup on local disk, older backups pushed to storage service

Page 18: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service Feature: Scaling

18

• Fully-automated, on-demand – do it yourself without IT!

• Each managed server on separate virtual machine

• Zero downtime during scaling – keep customers happy

• Scale data capacity and processing up/down on demand – expand & retract at your own pace & business needs

Page 19: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Oracle Coherence Option: Data Caching & Scaling

• Scaling applications’ caching/data grid capacity in-memory to support growth

• Offload and protect shared cloud services and databases

• Delivery of data to cloud apps in real time

• Transparency and high-availability in the cloud’s data grid tier

JAVA CLOUD SERVICE

+

Page 20: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Oracle Coherence Option: Your Cloud Data Grid

• Reliable In-Memory key-value store

• Dynamically scalable

• Scale processing with data

• Entries can be

• Reliably processed in-place

• Queried

• Aggregated

• Integration with Database and Developer Cloud Services

Scalable, fault-tolerant cloud infrastructure

Page 21: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Coherence Cloud Service Seamlessly Deploy

• Coherence as a feature of Java Cloud Service

• Build on WebLogic/Coherence 12c (12.1.3)

• Leverages Managed Coherence Servers

– Develop, deploy, manage and monitor your applications via WebLogic Management Framework

• One Coherence cluster per domain

• Coherence (TCMP) cluster spans Java Cloud Service and Coherence Cloud Service managed servers

• Cache storage disabled in the application tier

Oracle Confidential – Restricted

21

Data Cluster

Java Cloud Service

Application Server

Application Server

Application Server

Application Cluster

Managed Coherence

Server

Managed Coherence

Server

Managed Coherence

Server

+

Page 22: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

How You Interact with Java Cloud Service

22

• New Cloud Portal

• Familiar, but improved WebLogic Admin Console

• Fusion Middleware Control

• Traffic Director Admin Console

• Public REST APIs

• Command Line Interface

• SSH to VM

• Standard IDEs

WLST

FMW Control/ WebLogic Admin Console

REST API

Oracle Cloud Portal

JAVA CLOUD SERVICE

Page 23: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Speaking of Dev Environments… Developer Cloud Service

• Complete, Integrated Development Platform - as a Service

• Application Lifecycle Management

• Team Management

• Entitlement with Java Cloud Service

23

Page 24: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Developer Cloud Service – Easy Adoption/Integration Pre-integrated development technologies in the cloud

• Standards Based • Git, Maven, Hudson, Ant, etc.

• Built-in IDE Integration • Eclipse, NetBeans, JDeveloper

• Flexible Source Location • Hosted Git or GitHub

• Choice of Deployment Target • Oracle Java Cloud Service or on-premise

24

Page 25: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

The Oracle Java Cloud Service Advantage

Oracle Company Confidential – Shared

25

• On-Premises and Cloud Integration

• Single-vendor Accountability

• Vertically Integrated Stack

• Self-Service/Provisioning

• Pay-as-you-Grow Pricing

• Includes Developer Cloud for FREE

• Integrated With Database Cloud

JAVA CLOUD SERVICE

Page 26: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

JAVA CLOUD SERVICE

Coming Soon: Java Cloud Service On-Premises!

26

• If you want to use public cloud, but can’t

• Geography, political, other reasons

• Same public experience, but on-premises

• Runs on Exalogic in your data center JAVA CLOUD

SERVICE

Page 27: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Java Cloud Service Pricing

Product

(Per OCPU)

JCS

per Month per Hour*

Standard Edition $450 $0.75

Enterprise Edition $1,200 $2.02

Suite $2,800 $4.70

•Hourly price includes a 25% premium over Monthly price •Oracle Compute Unit (OCPU) provides the equivalent CPU capacity of a 3.0 GHz 2012 Intel Xeon processor with hyper threading enabled.

Page 28: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved. 28

Transparent Pricing & Terms = No Surprises

Surprises

• Easy-to-follow price list published to https://cloud.oracle.com/java?tabID=1385147650676

• JCS requires purchase of Database & Storage Cloud Services

Pre-Paid Subscriptions with Commitment • Burn down at negotiated rate for each

metered service • Customer can replenish the subscription at

any time • Billing in arrears until replenished • Unused cloud credits expire at end of term

Pay-as-you-Go with No Commitment • No credits purchase, no commitment • Customer requests services, signs up, provisions • Credit card is the only supported payment method • Billed on actual usage and in arrears

Co

nsu

mp

tio

n O

pti

on

s

Page 29: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Demo

29

Page 30: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

• Collaborative drawing

• Two-page application

– List of drawings

– Drawing

• Demonstrating – Server-side

• Java EE 7: JAX-RS, JSON, WebSocket

• WebLogic specific (Jersey): SSE, JSON-B

– Client-side: AngularJS or JavaFX

30

https://github.com/doschkinow/hol-sse-websocket

HTML5 App auf WebLogic : Drawing Board Demo

Page 31: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved. 31

Thin Server Architecture

Drawing Board Demo

HTTP/S

Web Sockets

SSE

Clients

JSON

JSON

HTML5 Browser

JavaFX

WebView/WebKit

webSocketSend.send(...)

send(...) onEvent(...)

DrawingService.query(...)

DataProvider POJO

(Drawings HashMap)

JAX

-RS,

SS

E (J

erse

y)

WS

End

po

int

WebLogic 12.1.3

Page 32: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved. 32

How to scale, get HA and share application state?

Drawing Board Demo

?

Page 33: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing

Copyright © 2015 Oracle and/or its affiliates. All rights reserved.

Scalable Event-Based Architecture with In-Memory Data Grid

33

https://github.com/doschkinow/hol-sse-websocket/solutions/exercise9

Co

he

ren

ce C

lust

er

Page 35: lift & shift - Java Entwicklung in der Oracle Cloud mit ...The following is intended to outline our general product direction. ... , and should not be relied upon in making purchasing