© 2012 oracle corporation · program agenda modern, lightweight java ee 6 applications for...

31
1 | © 2012 Oracle Corporation

Upload: others

Post on 06-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

1 | © 2012 Oracle Corporation

Page 2: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Oracle WebLogic Server 12c:

2 | © 2012 Oracle Corporation

Developing Modern, Lightweight Java EE 6 ApplicationsWill Lyons, Director of WebLogic Server Product Management Pieter Humphrey, Principal Product Manager

Page 3: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be y yincorporated 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,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 | © 2012 Oracle Corporation

Page 4: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Oracle WebLogic Server 12c#1 Application Server Across Conventional and Cloud Environments#1 Application Server Across Conventional and Cloud Environments

Deploy/Run on High Deploy/Run on High PerformancePerformance

Deploy/Run on Private Deploy/Run on Private and Public Cloudsand Public Clouds

Deploy/Run on Deploy/Run on ConventionalConventional

SystemsSystems

PerformancePerformanceEngineered SystemsEngineered Systems

4 | © 2012 Oracle Corporation

Page 5: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Oracle Cloud Application FoundationFoundation for Oracle Fusion Middleware in the Cloud

Web Social Mobile

ExalogicOracle Public

Foundation for Oracle Fusion Middleware in the Cloud

User EngagementUser EngagementUser EngagementUser Engagement

Business ProcessBusiness ProcessBusiness ProcessBusiness Process ContentContentContentContent BusinessBusinessBusinessBusinessTraffic Director

gElastic CloudCloud

Business Process Business Process ManagementManagement

Business Process Business Process ManagementManagement

Content Content ManagementManagement

Content Content ManagementManagement

Business Business IntelligenceIntelligenceBusiness Business

IntelligenceIntelligence

Service IntegrationService IntegrationService IntegrationService Integration Data IntegrationData IntegrationData IntegrationData Integration

Cloud Application Foundation

WebLogic Server Coherence Tuxedo

Identity Management & SecurityIdentity Management & SecurityIdentity Management & SecurityIdentity Management & Security

Development Development ToolsTools

Enterprise Enterprise ManagementManagement

Cloud Application Cloud Application FoundationFoundation

5 | © 2012 Oracle Corporation

Page 6: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Agenda

Modern, Lightweight Java EE 6 applications for conventional and cloud deployment

Extending your existing skills with the latest standards to Oracle WebLogic Server

Extending your existing open source skills to Oracle WebLogic Server

Write less glue code, more business logic when using integrated services

6 | © 2012 Oracle Corporation

Page 7: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Modern Development with WebLogic Server 12cDevelopment Tooling, Maven, Spring, Classloading, Open Source …p g, , p g, g, p

• Java EE 6 Full Profile Certified• Standard Java IDE Support• Deeper Maven Integration• Built in Java VM Flight Recorder/DiagnosticsBuilt in Java VM Flight Recorder/Diagnostics• GlassFish DD Support on WebLogic• Latest Spring Framework 3.0.x Support• Built in Classloading Analysis Tool (CAT)

CAT

7 | © 2012 Oracle Corporation

CAT

Page 8: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Lightweight Development with WebLogic Server

• 2X-6X download size improvement for developers

1GB

• No installer, unzip and go on Win/Linux/OSX

• Start an instance with318mb

Start an instance with -Dservertype=wlxto launch without EJB, JMS, and JCA containers

168mb

• FastSwap greatly reduces project redeployment requirement when doing iterative deployment

11g Full Distro 11g Zip Distro 12c Zip Distro

8 | © 2012 Oracle Corporation

Page 9: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Cloud Development with WebLogic Server

• Applications Ready for Cloud Deployment– Common Java EE Standards– Common WebLogic Server runtime

WebLogic WebLogic ServerServer

WebLogic WebLogic ServerServer

WebLogic WebLogic ServerServer

WebLogic WebLogic ServerServer

WebLogic WebLogic ServerServer

WebLogic WebLogic ServerServer

Common APIs, Runtime, AssembliesCommon APIs, Runtime, AssembliesCommon APIs, Runtime, AssembliesCommon APIs, Runtime, AssembliesCommon WebLogic Server runtime

– Common use of Assemblies for PaaS• Leverage Assemblies in Development

– Provision virtual environments for team

Conventional Conventional SystemsSystems

Engineered Engineered SystemsSystems

Private Private and and Public Public CloudsClouds

Provision virtual environments for team development and test

• Oracle Virtual Assembly Builder Updates– OVM 3.0 and broader product support WLS WLS

OTD

WLS CustomApp

– New studio/deployer architecture– Provisioning for Oracle Public Cloud DB Coherence

SOA Suite

Coherence

DB

App.

9 | © 2012 Oracle Corporation

Virtual Development /Test with Assemblies

Page 10: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Program Agenda

Modern, Lightweight Java EE 6 applications for conventional and cloud deployment

Extending your existing skills with the latest standards to Oracle WebLogic Server

Extending your existing open source skills to Oracle WebLogic Server

Write less glue code, more business logic when using integrated services

10 | © 2012 Oracle Corporation

Page 11: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Seamless UpgradeFrom WebLogic, iAS and OthersFrom WebLogic, iAS and Others

Migration ServicesAutomated Tooling Simple Upgrade Redeployment

WebLogic Server 11g

JBossWebSphere

InternetApplication Server

Migration ServicesAutomated Tooling

GlassFish

Simple Upgrade Redeployment

11 | © 2012 Oracle Corporation

g ppp

Page 12: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Modern Development with Java EE 6

• API PruningSt d d b d

Flexible & LightweightFlexible & Lightweight

• Embrace open source frameworksE bl D & D

ExtensibleExtensible

• Standards-based dependency injection

• Handle simple to complex with no external dependencies

• Enable Drag & Drop framework installation

• Standards-based DI extensions don’t create proprietary lock-inno external dependencies don t create proprietary lock in

DeveloperProductivityDeveloper

Productivity

• POJO Programming Model• More annotations, better IDE support• Less XML configuration, more convention

12 | © 2012 Oracle Corporation

• Annotations, not deployment descriptors

Page 13: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Major New Updates in Java EE 6

Lines of Code* Lines of XML*Java Classes*

25%25% 50%50% 880%0%25%25%Less

50%50%Less

880%0%Less

• Less XML, Less Code• Java Server Faces 2.0• Java Servlets 3 0

• Simplification, Productivity• Managed Beans 1.0• Bean Validation 1 0

• Modernization• Context & Dependency

Injection 1.0• Java Servlets 3.0• Java Persistence 2.0• Enterprise Java Beans 3.1

& Interceptors 1.1

• Bean Validation 1.0• JAX-WS 2.2

Injection 1.0• Bean Validation 1.0• Java API for RESTful

Web Services

13 | © 2012 Oracle Corporation

* Based on a Sample POJO/JPA/REST Based Application Built for JavaOne

Page 14: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Scaling up to WebLogic Server from GlassFish

EAR

GlassFishApplication

glassfish

<Deployment Descriptor><Deployment

Descriptor>

DETECTDEPLOY CONVERT GF

DD & USEEARWAR

glassfish-web.xml sun-web.xml

DD & USE

Built in GlassFish Descriptor Recognition for Easy

Re-Deployment to Oracle WebLogic Server

14 | © 2012 Oracle Corporation

WebLogic Server

Page 15: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

15 | © 2012 Oracle Corporation

Page 16: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Java SE 7: Cleaner, More Maintainable Code

• Oracle WebLogic Server 12c supports Java SE 7 (and Java SE 6)

• Java language optimizations• Client and server support• Internationalization• SSL/TLS 1.2 in JSSE• Converged Java VMConverged Java VM

16 | © 2012 Oracle Corporation

Page 17: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Program Agenda

Modern, Lightweight Java EE 6 applications for conventional and cloud deployment

Extending your existing skills with the latest standards to Oracle WebLogic Server

Extending your existing open source skills to Oracle WebLogic Server

Write less glue code, more business logic when using integrated services

17 | © 2012 Oracle Corporation

Page 18: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

IDE Tool Support for WebLogic Server 12c

Today

Text Editors

Today

…Coming

18 | © 2012 Oracle Corporation

Page 19: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Enhanced WebLogic Maven Plug-in

• Simple and intuitive• New Maven goals,

functional support • Enable/support/automate

the full development

mvn wls:install: automate install from zip file

mvn wls:create-domain: create a simple domain

mvn wls:start-server: process control

New

New

Newplifecycle from Maven

• Additional WebLogic, Fusion Middleware

mvn wls:wlst: execute inline and external WLS scripts

mvn wls:appc: compile Maven artifacts using appc

mvn wls:deploy: deploy apps to server

New

New

Fusion Middleware enhancements planned

19 | © 2012 Oracle Corporation

Page 20: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Some WebLogic Maven Plug-in Use Cases

• Automate repetitive development operations

• Bind to Maven execution phases<plugin> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>12.1.1.0</version> <configuration>

<plugin> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>12.1.1.0</version> <configuration>

WebLogic Maven WebLogic Maven PlugPlug--inin

WebLogic Maven WebLogic Maven PlugPlug--inin

• Bind to Maven execution phases

• Integration with other tools

I t t ith t b ild i t

<configuration> <adminurl>t3://localhost:7001</adminurl>

<user>weblogic</user><password>welcome1</password></configuration> <executions>

<execution><id>deploy</id><phase>pre-integration-test</phase>

<configuration> <adminurl>t3://localhost:7001</adminurl>

<user>weblogic</user><password>welcome1</password></configuration> <executions>

<execution><id>deploy</id><phase>pre-integration-test</phase>

• Integrate with team build environments p p g p<goals>

<goal>deploy</goal></goals><configuration>

<source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source>

<name>${project.build.finalName}</name> </configuration>

/ i

p p g p<goals>

<goal>deploy</goal></goals><configuration>

<source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source>

<name>${project.build.finalName}</name> </configuration>

/ i</execution></executions>

</plugin>

</execution></executions>

</plugin>

20 | © 2012 Oracle Corporation

Page 21: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

21 | © 2012 Oracle Corporation

Page 22: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Program Agenda

Modern, Lightweight Java EE 6 applications for conventional and cloud deployment

Extending your existing skills with the latest standards to Oracle WebLogic Server

Extending your existing open source skills to Oracle WebLogic Server

Write less glue code, more business logic when using integrated services

22 | © 2012 Oracle Corporation

Page 23: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Integrated Services and WebLogic Server 12c

WebLogic Server 12cWebLogic Server 12cMessaging Business

LogicTuxedo

Connector

FirewallInternet

Web Services Logic

Transactions Security Protocols

Connector

Persistence OracleTraffic

Director

OracleTraffic

DirectorHA

Heartbeat

• Best of breed services within WebLogic Server

ApplicationServer

Cache Server Messaging Server

LDAPserver

DatabaseServer

WebLogic Server• Built-in integration with other

infrastructure services

23 | © 2012 Oracle Corporation

Page 24: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Integrated Caching, Data Grid Services• Declarative scale out of session state management with WebLogic• JPA L1/L2 Cache data access with synch/asynch read/write through• Analytics, events and compute• Administration, operations and management built into WebLogic

CoherenceWebLogic

CoherenceWebLogic

C h Coherence

CoherenceWebLogic

CoherenceWebLogic

Coherence Coherence

CoherenceWebLogic

CoherenceWebLogic

Coherence CoherenceCoherence

Coherence Coherence

Coherence Coherence Coherence Coherence

Coherence Coherence

CoherenceData Cache Data Cache Query/Event

Query/Event Query/Event

Query/Event

Declarative Session Persistence Caching with Query, compute and

24 | © 2012 Oracle Corporation

Managementg

Read and Write ThroughQ y, p

event

Page 25: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Multi-Channel DevelopmentSingle Programming Model, Flexible Rendering TechnologySingle Programming Model, Flexible Rendering Technology

DesktopWeb OfficeMobile

WebLogic Supports Multi-Channel Deployment

Business

User Interface

ADF Faces / WebCenterADF Mobile Portlets

HTML 5.0 AJAXWAP 2.0

WebLogic Supports Multi Channel Deployment

Java EE 6Business Logic

25 | © 2012 Oracle Corporation

Page 26: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Virtual Development Assemblies with OVAB

Metadata

Assembly

OHS Traffic Load• Create assemblies including multi-

OHS Traffic Director

LoadDrivertier components and services

• Replicate shared development and test environments

WebLogic Coherence ServiceBus

SOA• Simplify provisioning and deployment of complex topologies

• PaaS APIs for automation

RAC-1 RAC-2

• PaaS APIs for automation• Enable developer focus on

business logic vs. integration

26 | © 2012 Oracle Corporation

Machine Pool

Page 27: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Summary#1 Application Server Across Conventional and Cloud Environments

• Develop better quality, more maintainable code faster and easier with WebLogic Server12c

#1 Application Server Across Conventional and Cloud Environments

faster and easier with WebLogic Server12c

• Improve efficiency with modern, lightweight Java EE 6 API

• Leverage your skills with the latest Java standards and open source into Oracle WebLogic Serverg

• Write less glue code, more business logic when using integrated services

27 | © 2012 Oracle Corporation

Page 28: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Q&AQ&

28 | © 2012 Oracle Corporation

Page 29: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

29 | © 2012 Oracle Corporation

Page 30: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

Join the WebLogic CommunityO l / bl i

Twittertwitter com/oracleweblogic

Oracle.com/weblogic

twitter.com/oracleweblogic

Facebookfacebook.com/oracleweblogic

Oracle’s WebLogic blogblogs.oracle.com/weblogicserver

Y t bYoutubeYoutube.com/oracleweblogic

Developer Webcast Seriesl / / bl d

30 | © 2012 Oracle Corporation

oracle.com/goto/weblogicdevcast

Page 31: © 2012 Oracle Corporation · Program Agenda Modern, Lightweight Java EE 6 applications for conventional and cloud deployment Extending your existing skills with the latest standards

31 | © 2012 Oracle Corporation