What's New and Noteworthy on Oracle CAF 12.1.3

38
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | What’s New and Noteworthy on CAF 12.1.3 WebLogic and Coherence Bruno Borges Principal Product Manager Oracle Latin America August, 2014

description

Oracle CAF - Cloud Application Foundation - delivers top quality Java Middleware software for mission critical solutions. Find out what's new and noteworthy on CAF 12.1.3, mainly WebLogic and Coherence.

Transcript of What's New and Noteworthy on Oracle CAF 12.1.3

Page 1: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

What’s New and Noteworthy on CAF 12.1.3 WebLogic and Coherence

Bruno Borges Principal Product Manager Oracle Latin America August, 2014

Page 2: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Bruno Borges

– Principal Product Manager, Java Evangelist – Oracle Latin America

– @brunoborges – [email protected]

Speaker

Page 3: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Program Agenda

Cloud Application Foundation Recap

Oracle WebLogic 12.1.3

Oracle Coherence 12.1.3

1

2

3

Page 4: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Cloud Application Foundation A brief recap

Page 5: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Cloud Application Foundation WebLogic & Coherence Delivery Platforms and Focus Areas S

tra

teg

ic

Fo

cu

s

Multitenancy for Density/Utilization

#1 HIGH PRODUCTIVITY

Java EE

Java SE

HTML5

Mobile, Developer Productivity

Cloud Scale Management

and Operations High Availability and

Performance

Engineered Systems (Exalogic, SuperCluster)

Conventional On-premise Public, Private, 3rd Party Cloud

Pla

tfo

rm

Ch

oic

e

6

Page 6: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic 12c

Page 7: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.1

• Java EE 6 and Developer Productivity

• Simplified Deployment and Management with Virtualization

• Integrated Traffic Management

• Enhanced High Availability and Disaster Recovery

• Much Higher Performance

• Seamless Upgrade

Page 8: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.2

Native Cloud Management • Common Provisioning Framework • Managed Coherence Servers • Elastic JMS

Modern Development Platform • Simplified Maven Integration • WebSocket • TopLink Data Services

Mission-Critical Cloud Platform • Database 12c Integration • Dynamic Clusters • Exalogic Optimizations

Page 9: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Availability, Multitenancy, Scalability Oracle WebLogic and Database 12c Integration

WebLogic, Database

Integration

• Application Availability with Transaction Guard

• Support for Multi-Tenant Database

• Scalability with Database Resident Connection Pooling

Application Continuity

Database Resident

Connection Pool

Global Data Services

Multi-Tenant

Database

WebLogic Server

Page 10: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Dynamic Clusters – Simplified Scalability for the Cloud

• Zero Reconfiguration to Scale, Shrink Clusters

• Dynamic Clusters with Automated Ports, Naming

• Oracle Cloud, Private Cloud Elasticity

Simplify Cluster Configuration and Scaling Dynamic Clusters

Page 11: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Managed Coherence Servers WebLogic Console

Enterprise Manager

WebLogic Scripting

Management Efficiency

• Integrated across WebLogic and Coherence

• Based on WebLogic Management Framework

• Configuration, deployment, lifecycle management, monitoring

• Use for combined WebLogic/Coherence or standalone Coherence deployments

Coherence

Coherence

Coherence

Coherence

Configure Deploy Start/Stop Monitor

WebLogic WebLogic

WebLogic WebLogic

WebLogic Management Framework

Page 12: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3

Server 1 Server 2

Server 3 Server 3

JMS JMS

JMS JMS

Oracle

RAC

Dynamic Cluster

• Fusion Middleware 12.1.3 Release

• SOA, OSB, BPM, ADF, JDEV, CAF

• Mobile, Developer Productivity

• JSON, REST, WebSocket, SSE

• High Availability and Performance

• DB 12c integration improvements

• High availability enhancements

• Exalogic optimizations

• Cloud-Scale Management and Operations

• Additional REST support, FMWC

Page 13: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 Mobile, Developer Productivity

WLS 12.1.3 Clients

HTM

L5

clien

ts

ADF Mobile

Proxies

OTD

Apache

OHS

Web Sockets (JSR 356)

TopLink Data Services

Server-Sent Events

JAX-RS 2.0

WebSocket Emulation

We

bSo

cket Em

ulatio

n

JAX-RS 2.0, WebSocket 1.0

JSON Programming API

JPA 2.1

Server-Sent Events

WebSocket Emulation

JPA-RS

JPA

Change Notification

Database

JSON Programming API

HTTP/S, JSON/XML WebSocket, Server-Sent

Events, Long polling

Java EE 7 APIs

Additional WebLogic Value-Add

Oracle Confidential – Internal/Restricted/Highly Restricted 14

Page 14: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 and JAX-RS 2.0 (from Java EE 7)

• Defaults with JAX-RS 1.1

– Annotation-based API for RESTful web services, Java EE 6 standard

• Supplied as jax-rs-2.0.war shared-library

– Overrides default JAX-RS API, supplies Jersey 2.5.1 implementation

– Referenced by applications to use JAX-RS 2.0

• New Features in JAX-RS 2.0

– Standard Client API

– Filters/interceptors

– Server-side content negotiation

– Asynchronous processing

Page 15: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Server-Sent Events – A Jersey 2.5 Bonus • RESTful Approach to SSE

• Stream asynchronous events from Server to Client using JAX-RS/Jersey runtime

– Uni-directional, server-send model using simple data protocol

– Part of HTML5 Standard by W3C with EventSource JavaScript Object

– Many HTTP messages on a single connection

– Enables reconnection and replay capability with Last-Event-ID HTTP header tracking

• Automatically included and registered by the WLS JAX-RS 2.0 shared-library

Server Client

HTTP / SSE

HTTP / Res

Tim

e

data available

data available

data available

open

received

received

received

received

payload

payload

payload

payload

data available payload

reconnect HTTP / SSE + <Last-Data ID>

HTTP / Res

Page 16: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 WebSocket Support – JSR-356 • WebLogic 12.1.2 WebSocket implementation

– Supports protocol standard

– Adoption by PeopleTools 8.54 (H2CY2014)

• WebLogic 12.1.3 – Java EE 7 API for WebSocket

– Included in GlassFish 4.0

• Allows defining WebSocket Endpoints

– Handle onOpen, onClose, onError, onMessage events

– Bi-directional communication between peers

– Endpoints used by Servers and Clients

• Support encoders/decoders

– Map message content to/from Java objects

Server Client

HTTP

Tim

e

upgrade open

receive

receive

Handshake Request

Handshake Response

WebSocket Connection

send

send

receive

send

send receive

send receive

payload

payload

payload

payload

payload

receive send payload

Page 17: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 WebSocket Emulation • Browsers and firewalls may not support/permit WebSocket protocol

• WebLogic provides a fallback mechanism to emulate the WebSocket transport behavior

• Client side with JavaScript library - OraSocket.js

• Server side with an adapter to handle HTTP Long Polling

● Developers

● Use the WebSocket API for Java to write your application

● Use the WebSocket JavaScript Object on the client

● Same codebase

● Looks and smells just like a WebSocket application

● Whatever happens behind the scene is not your concern

Page 18: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 - Java API for JSON Processing

• WebLogic Server implementation based on Java EE7 RI

• Standard Java API to generate and parse JSON

– Included in Java EE 7

– Included as module with WebLogic Server 12.1.3

• Has an Object model API to represent JSON – Similar to DOM API in XML world

• Has a Streaming API to produce/consume JSON

– Similar to StAX API in XML world

Page 19: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Repository

Product JARs POMs <project> <groupId>com.oracle.weblogic</groupId> <artifactId>webservices</artifactId> <version>12.1.2</version> <packaging>jar</packaging> </project>

Archetypes

Sync plugin

WebLogic plugin

weblogic-maven-plugin

wlst file <script>

wlst-client T3

Web

Logi

c Se

rver

A

dm

inSe

rver

WebLogic Server 12.1.3 Maven Updates

• Same set of 12.1.2 goals

• New wlst-client goal to run WLST scripts from fully remote environment

• WLST remote library included in Maven artifact set

• No longer require local installation of WebLogic to execute WLST from Maven

Page 20: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 High Availability and Performance

Dynamic Cluster

Server 1 Server 2

Server 3 Server 3

JMS JMS

JMS JMS

WebLogic WebLogic

Oracle

Database

12c RAC

• Continued Database Integration

• Bundle 12c driver

• AQ JMS Database 12c support

• High-Availability

• No TLOG option – Phase 1

• XA Transaction Recovery Across Sites

• Exalogic Optimizations

• Density - Memory Optimizations

• Performance – JMS

Page 21: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 – XA Without TLOGs

• Improve performance, manageability of XA apps

• No TLOG I/O – up to 3x throughput improvement

• No TLOG replication requirements for DR

• How it works

• Define “determiner” resource - last to prepare/commit

• Tx recovery based on resource state and determiner

• Single TM w/no LLR or JTS – no TLOG required

• Multiple TM – reduced writing to TLOG

• Multi-phase delivery of this features

• Multiple TM XA in with no TLOG in 12.2.1

Managed Server Managed Server

TM TM

DS1 DS2 DS1 DS2

Determiners

Page 22: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Queue

JMS Svr

Repl Store

WebLogic Cluster

Daemon

R1

R2

Rn

RDMA/InfiniBand

Daemon Volume

WebLogic Server 12.1.3 on Exalogic JMS Replicated Store

• Leverages large RAM in Exalogic

– Stored in local memory

– Replicated via RDMA

• Provides very high throughput

– 14x performance vs. ZFSSA storage

• Fault tolerance

– Inherits network and power redundancy of Exalogic

– Automatic recovery from a single node failure

Page 23: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

WebLogic Server 12.1.3 – Cloud Scale Management Dynamic Clusters Update

• WebLogic 12.1.2 dynamic clusters support JMS

• WebLogic 12.1.3 adds Whole Server Migration support

Simplify Configuration of HA JMS Clusters Dynamic Clusters

Page 24: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Oracle Coherence 12c

Page 25: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Modern Best Practice Caching Architecture Pioneered By Coherence

First Generation Cache Solutions

Difficult to scale, complex to synchronize, limited capacity

Modern Best Practice Cache Solutions

Easy to Scale, Clustered, Synchronized, Advanced Capabilities

Page 26: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Application Server with Coherence

• Offload session and application data management from the app server tier

• Scale tiers independently

• Coherence*Web

• Decouple session management from web container

• Handle more users without adding more application servers

• Restart/maintain applications/containers without losing sessions

• Handle very large sessions efficiently

Scale Session, Cache and Data Grid as Independent Architectural Tier

Page 27: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Partitioned, Fault Tolerant, Self-Healing Cache

Coherence Clustered Caching Explained

• Cluster of nodes holding % of primary data locally

• Back-up of primary data is distributed across all other nodes

• Logical view of all data from any node

• All nodes verify health of each other

• In the event a node is unhealthy, other nodes diagnose state

• Unhealthy node isolated from cluster

• Remaining nodes redistribute primary and back-up responsibilities to healthy nodes

?

Page 28: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

• Detect and reflect database changes in cache in real time

• Leverage existing technologies

– GoldenGate, TopLink Grid

• Broaden applicability/usability of Coherence

• No code change

Coherence GoldenGate HotCache Real Time Database Updates for Your Apps

App App App

Coherence

Batch Process

GoldenGate HotCache

Page 29: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Memcached Adaptor

• Migrate from Memcached

• Use popular Memcached Clients

• Leverage Coherence benefits and features

– Scalability, availability, and reliability

– Data source integration including HotCache

– Security • SASL PLAIN authentication mechanism using

Coherence JAAS Identity Asserter

• Integrates with the Coherence Proxy Security framework for custom authorization.

Memcached … Client

Cache

Memcached Acceptor

Memcached Ruby Client

POF Serializer

Cach

e S

erv

er

Pro

xy S

erv

er

Memcached Java Client

Memcached PHP Client

Page 30: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

JCache (JSR-107) Support The Standard API for Caching on the Java EE Platform

• JSR-107

– Oracle Co-Spec Lead

– Unanimously passed in 2014

• Full Support in Coherence – Multiple Cache Topology support

– Interoperability with all Coherence clients

– Leverage Coherence features and benefits • Server-side processing

• HotCache, Multi-Datacenter, etc.

Application

javax.cache.* API (JSR-107 JCache)

Coh

ere

nce

Cach

e

Coherence Cluster

Coherence JSR-107 Adapter

Coherence API (NamedCache)

Page 31: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Dependency-1.jar

@portable account

@portable orders

Dependency-2.jar

@portable inventory

Pof-config.xml

POF Configuration Generator

• Generates POF config file based on @Portable classes

• Predictable type-id generation

• Generational

– Accepts previous POF config file

• Operates against a GAR and supported by maven GAR plugin

• Command line or consumable API

Developer Productivity

POF

Config

Generator

Page 32: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

REST Security and Usability Improvements

• Secure SSL communications

– HTTP basic authentication, client-side certificates

– Fine-grained authorization

• Query Enhancements – “named queries”

– Limit query results

– Keyset Retrieval

• Pluggable Query Engines

Improved Client Integration

In-Memory Data Grid

Proxy Tier

Data Tier

Page 33: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Simplified Maven Integration

• Plug-in and Ready-to-Use POM

• Support private Maven Repositories

• Consistency across development teams

• Efficient use of central Maven resources

RAPID DEVELOPMENT AUTOMATION, PRODUCTIVITY

Product JARs POMs

Private Repository

Page 34: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Coherence 12.1.3 JVisualVM Plug-in

• lightweight, developer-focused JVisualVM plug-in

– general cluster information

– aggregated Coherence Mbeans

• Standard NetBeans Module (NBM)

• Tabular data or over time as graphs

• Supports Managed Coherence Servers and stand-alone clusters

• Available on JDK 1.7u40 and above – Support older versions via remote JMX

Page 35: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Coherence 12.1.3 Improved on Exalogic

• Infiniband Message Bus

– Lower response times up to 6x

– Built on Exabus APIs

• Uses expanded Exalogic X3-2 memory and SSD more efficiently

• Message Bus reduces latency jitter

• 16x faster rebalancing improves availability

Improve Performance, Reduce Hardware

10Gbe IPoIB InfiniBand Message Bus

Up to 6x Better Response Time

Page 36: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Safe Harbor Statement

The preceding 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 37: What's New and Noteworthy on Oracle CAF 12.1.3

Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

Page 38: What's New and Noteworthy on Oracle CAF 12.1.3