Vous êtes sur la page 1sur 32

1

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle WebLogic Server 12c: Developing Modern, Lightweight Java EE 6 Applications


2 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Will Lyons, Director of WebLogic Server Product Management Pieter Humphrey, Principal Product Manager

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 Oracles products remains at the sole discretion of Oracle.

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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 Oracles products remains at the sole discretion of Oracle.

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle WebLogic Server 12c


#1 Application Server Across Conventional and Cloud Environments

Deploy/Run on Private and Public Clouds Deploy/Run on High Performance Engineered Systems Deploy/Run on Conventional Systems

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Oracle Cloud Application Foundation


Foundation for Oracle Fusion Middleware in the Cloud
Web Social Mobile

Oracle Public Cloud


User Engagement

Exalogic Elastic Cloud

Traffic Director
Business Process Management Content Management Business Intelligence

WebLogic Server
Service Integration Data Integration

Coherence

Tuxedo

Cloud Application Foundation


Identity Management & Security

Development Tools

Cloud Application Foundation

Enterprise Management

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Modern Development with WebLogic Server 12c


Development Tooling, Maven, Spring, Classloading, Open Source Java EE 6 Full Profile Certified Standard Java IDE Support Deeper Maven Integration Built 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
8 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Lightweight Development with WebLogic Server


2X-6X download size improvement for
1GB

developers
No installer, unzip and go on

Win/Linux/OSX
Start an instance with
318mb 168mb

-Dservertype=wlx to launch without EJB, JMS, and JCA containers redeployment requirement when doing iterative deployment
11g Full Distro 11g Zip Distro

FastSwap greatly reduces project


12c Zip Distro

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Cloud Development with WebLogic Server


Applications Ready for Cloud Deployment
Common Java EE Standards Common WebLogic Server runtime Common use of Assemblies for PaaS
WebLogic Server WebLogic Server WebLogic Server Common APIs, Runtime, Assemblies Conventional Systems Engineered Systems

Private and Public Clouds

Leverage Assemblies in Development


Provision virtual environments for team development and test

Oracle Virtual Assembly Builder Updates


OVM 3.0 and broader product support New studio/deployer architecture Provisioning for Oracle Public Cloud
WLS WLS Custom App. DB WLS DB

OTD

SOA Suite Coherence Coherence

Virtual Development /Test with Assemblies

10

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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

11

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Seamless Upgrade
From WebLogic, iAS and Others

Automated Tooling Internet Application Server

Simple Upgrade

Redeployment GlassFish

Migration Services JBoss WebSphere

WebLogic Server 11g

12

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Modern Development with Java EE 6


Flexible & Lightweight API Pruning Standards-based dependency injection Handle simple to complex with no external dependencies Developer Productivity POJO Programming Model More annotations, better IDE support Less XML configuration, more convention Annotations, not deployment descriptors
13 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Extensible Embrace open source frameworks Enable Drag & Drop framework installation Standards-based DI extensions dont create proprietary lock-in

Major New Updates in Java EE 6


Java Classes* Lines of Code* Lines of XML*

25%
Less
Less XML, Less Code Java Server Faces 2.0 Java Servlets 3.0 Java Persistence 2.0 Enterprise Java Beans 3.1 & Interceptors 1.1

50%
Less
Simplification, Productivity Managed Beans 1.0 Bean Validation 1.0 JAX-WS 2.2

80%
Less
Modernization Context & Dependency Injection 1.0 Bean Validation 1.0 Java API for RESTful Web Services

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

14

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Scaling up to WebLogic Server from GlassFish

GlassFish Application EAR WAR

DETECT DEPLOY

<Deployment Descriptor> <Deployment Descriptor> glassfishweb.xml sun-web.xml

CONVERT GF DD & USE

Built in GlassFish Descriptor Recognition for Easy Re-Deployment to Oracle WebLogic Server

15

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

16

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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 VM

17

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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

18

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

IDE Tool Support for WebLogic Server 12c


Text Editors

Today

Coming

19

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Enhanced WebLogic Maven Plug-in


Simple and intuitive
New Maven goals, functional support Enable/support/automate the full development lifecycle from Maven Additional WebLogic, Fusion Middleware enhancements planned
New New New New New

mvn wls:install: automate install from zip file mvn wls:create-domain: create a simple domain mvn wls:start-server: process control

mvn wls:wlst: execute inline and external WLS scripts mvn wls:appc: compile Maven artifacts using appc

mvn wls:deploy: deploy apps to server

20

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Some WebLogic Maven Plug-in Use Cases


Automate repetitive development operations
Bind to Maven execution phases Integration with other tools Integrate with team build environments
WebLogic Maven Plug-in
<plugin> <groupId>com.oracle.weblogic</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>12.1.1.0</version> <configuration> <adminurl>t3://localhost:7001</adminurl>

<user>weblogic</user><password>welcome1</password > </configuration> <executions> <execution> <id>deploy</id> <phase>pre-integration-test</phase> <goals> <goal>deploy</goal> </goals> <configuration> <source>${project.build.directory}/${project.buil d.finalName}.${project.packaging}</source> <name>${project.build.finalName}</name> </configuration> </execution> </executions> </plugin>

21

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

22

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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

23

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Integrated Services and WebLogic Server 12c


WebLogic Server 12c
Web Services Messaging Business Logic Tuxedo Connector

Firewall
Internet

Transactions

Security

Protocols

Persistence

Oracle Traffic Director

HA Heartbeat

Oracle Traffic Director

Best of breed services within

WebLogic Server Built-in integration with other infrastructure services

Application Server LDAP server

Cache Server

Messaging Server Database Server

24

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

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
WebLogic Coherence WebLogic Coherence
Coherence Coherence

WebLogic Coherence

WebLogic Coherence
Coherence
Data Cache

WebLogic Coherence

WebLogic Coherence
Coherence
Query/Event

Coherence Coherence

Coherence
Data Cache

Coherence
Query/Event

Coherence
Query/Event

Coherence
Query/Event

Declarative Session Management

Persistence Caching with Read and Write Through

Query, compute and event

25

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Multi-Channel Development
Single Programming Model, Flexible Rendering Technology
Web Mobile Desktop Office

WebLogic Supports Multi-Channel Deployment


WAP 2.0 ADF Mobile HTML 5.0 ADF Faces / WebCenter Java EE 6

AJAX
Portlets

User Interface Business Logic

2011 Oracle Corporation Confidential

Virtual Development Assemblies with OVAB


Assembly

Create assemblies including multitier components and services Replicate shared development and test environments Simplify provisioning and deployment of complex topologies PaaS APIs for automation Enable developer focus on business logic vs. integration

Metadata

OHS

Traffic Director

Load Driver

WebLogic Coherence Service Bus

SOA

RAC-1

RAC-2

Machine Pool
27 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Summary
#1 Application Server Across Conventional and Cloud Environments
Develop better quality, more maintainable code

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 Server


Write less glue code, more business logic

when using integrated services

28

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Q&A

29

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Join the WebLogic Community


Twitter twitter.com/oracleweblogic Facebook facebook.com/oracleweblogic Oracles WebLogic blog blogs.oracle.com/weblogicserver Youtube Youtube.com/oracleweblogic Developer Webcast Series oracle.com/goto/weblogicdevcast

Oracle.com/weblogic

30

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

31

Copyright 2011, Oracle and/or its affiliates. All rights reserved.

32

Copyright 2011, Oracle and/or its affiliates. All rights reserved.