+ All Categories
Home > Technology > WebLogic Developer Experience and Java EE 6

WebLogic Developer Experience and Java EE 6

Date post: 19-May-2015
Category:
Upload: jeffrey-west
View: 1,379 times
Download: 2 times
Share this document with a friend
Description:
This presentation was delivered at The Server Side Java Symposium in Las Vegas, 2011. The presentation describes the developer features that are included in WebLogic, an overview of the new features in 10.3.4 and our plans for WebLogic support of EE 6
Popular Tags:
30
Developer Experience, WebLogic Server and Java EE6 Jeffrey West Application Grid Product Management
Transcript
Page 1: WebLogic Developer Experience and Java EE 6

Developer Experience, WebLogic Server and Java EE6 Jeffrey WestApplication Grid Product Management

Page 2: WebLogic Developer Experience and Java EE 6

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.

Page 3: WebLogic Developer Experience and Java EE 6

Agenda

• Oracle’s Application Servers• Developing on WebLogic - Overview • What’s New for Developers in WebLogic 11gR1(10.3.4)• Next Steps for WebLogic and Java EE6 • Conclusion

Page 4: WebLogic Developer Experience and Java EE 6

Content Management

Suite

Java EE6 ISV Apps

Oracle WebLogic ServerStrategic Platform for Fusion Middleware and Applications

Fusion Applications

Fusion Middleware 11g

Certified and Differentiated on WebLogic Suite

Applications PortfolioApplications

in Process of Planning/Certifying

on WebLogic

SOA Suite Identity Management

Suite

Business Intelligence

Suite

WebCenter Suite

Fusion Middleware 11g

WebLogic Suite 11g

Fusion Applications

Building on Fusion

Middleware 11g

WebLogic Suite 11g

Grid Foundation

Page 5: WebLogic Developer Experience and Java EE 6

WebLogic Server – The #1 Application ServerDevelop on WebLogic to Leverage Benefits

• Gartner’s most recent worldwide application server market share report* shows Oracle at 44%

• Oracle market share is higher than its four closest competitors combined

#1 Market Share

#1 Innovation

#1 Performance

#1 Growth

Oracle WebLogic Server

Page 6: WebLogic Developer Experience and Java EE 6

Oracle WebLogic SuiteApplication Infrastructure Based on WebLogic

Coherence

JRockit Real Time and JRockit Virtual Edition

WebLogic Server

Java EE: Reliability, Availability, Scalability & Performance

High Performance, Reliable, Scale Out for Java, C++ and .NET

High Performance JVM with Extreme Low Latency

WebLogic Suite

En

terp

rise

Ma

nag

er

Ad

min

an

d O

pe

rati

on

s

Develo

pm

ent To

ols

JD

ev

elo

pe

r/Ec

lips

e

Most complete platform for

cloud

#1 in Performance AND time-to-market

Best integration with Oracle

stack

Page 7: WebLogic Developer Experience and Java EE 6

GlassFish and WebLogic Together The Best of Both Worlds

Page 8: WebLogic Developer Experience and Java EE 6

Agenda

• WebLogic Server Benefits• Developing on WebLogic - Overview • What’s New for Developers in WebLogic 11gR1(10.3.4)• Next Steps for WebLogic and Java EE6 • Conclusion

Page 9: WebLogic Developer Experience and Java EE 6

WebLogic Server for DevelopersDeveloper Friendly Operations Platform

• Early standards adoption• Updating Java EE 6 Core API – JPA 2.0,

JSF 2.0, JAX-RS• Web Services• Full Java EE 6 in next major release

• Latest open source support• Spring 3.0 integration

• New development options• Zip distribution and Mac OS support

• Best server tools• Configuration and deployment automation• Ant and Maven support• Classloader Analysis Tool

• Choice of IDEs• Oracle Enterprise Pack for Eclipse• JDeveloper• NetBeans

• Leverage the #1 Application Server

CAT

Page 10: WebLogic Developer Experience and Java EE 6

WebLogic Java EE Support Through WebLogic Server 11gR1 (10.3.3)

• WebLogic Server 11gR1 is Java EE 5 compatible• Compatibility with prior Java EE versions• Compatibility with prior WebLogic versions• Compatible with other implementations• Leverage reference implementations (JPA, JSF, JAX-WS…)

• WebLogic evolving to support new standards• WebLogic Server 11g R1 (10.3.2)

• Oracle TopLink is strategic persistence provider• Support for specifying default JPA provider for domain• Kodo default for compatibility

• WebLogic Server 11g R1 (10.3.3)• Provide optional support for JSF 2.0• Uses JSF 2.0 reference implementation• Simplifies page authoring through Facelets and Templating• AJAX support

Page 11: WebLogic Developer Experience and Java EE 6

• JAX-*

•SOAP1.* & WS-Policy

•WS-SecurityPolicy

•WS-ReliableMessaging

•WS-Addressing

•WS-SecureConversation

•MTOM

•WS-AT

•REST

• JAXB/SDO databinding

•WS-I BP/BSP/RSP

•SCA Spring C&I

Standards

WebLogic Web Services Support

•RASP

•Database web service

• JMS transport

•Pluggable databinding

•Asynchronous web service

•Stateful web service with C*Web

•Conversational web service

•Custom policies

• Interoperability

Value-added•Web service management

•Web service security configuration

•Policy attachment

•Policy management

•WLST-based web service management

•Test page

•Performance monitoring

Management

Page 12: WebLogic Developer Experience and Java EE 6

WebLogic Spring Integration

• Develop/deploy Spring apps to WebLogic• Supported for multiple WebLogic releases• Integration features to host Spring applications• Simplified config w/Spring pre-configured beans

• Leverage WebLogic in Spring apps• Datasources, JMS, Work Managers• Clustering• Transactions• Monitoring • Management• Automation

• Oracle Enterprise Pack for Eclipse Support• Spring IDE, DAO generation, Facets• Generate JAX-WS from bean• Validate Spring config file• Easy project configuration and library mgmt• Graph view for relationship among Spring Beans

WebLogic Cluster/Domain

WebLogic Admin Server

WebLogic Console

Managed Server

Spring Apps

Java EE

Managed Server

Spring Apps

JEE

Page 13: WebLogic Developer Experience and Java EE 6

WebLogic 10.3 Development FeaturesEnhancements from prior WebLogic versions

• Focused on improving developer productivity• Fast turnaround times

• WebLogic 10.3 Console performance• 2x-3x improvements over WebLogic 9.2/10.0

• WebLogic 10.3 Deployment and startup• For example, EJB compilation improvements

• Optional service startup• Start WebApp container w/o EJB, JMS, JCA• Precursor to Java EE Web profile

• FastSwap• WebLogic Server 10.3 development option• Bypass typical edit > build >deploy > test cycle• Execute modified code immediately after recompile• No reboot, redeploy, no loss of application state• Change code, refresh browser, view results

Develop Deploy

Accelerate Development

Cycle

Debug

Reduce Time to

Develop/Test

Page 14: WebLogic Developer Experience and Java EE 6

Configuration, Build and Admin Tools

• WebLogic Domain Creation Tools• Configuration Wizard GUI• WebLogic Scripting Tool (WLST) Offline• Intuitive and reproducible

• Ant Tasks for Build Automation• Compile application• Create domain• Configure domain• Boot server • Deploy application

• Maven Plugin for Build Automation• Deploy/Undeploy/Redeploy Applications• Start/Stop Applications

• Online Management Tools• WebLogic Scripting Tool (WLST) Online• WebLogic Server Admin Console• Fusion Middleware Control

Page 15: WebLogic Developer Experience and Java EE 6

Choice of IDE Solutions

• JDeveloper• Complete IDE for Fusion Middleware and Oracle • Oracle ADF, SOA, WebCenter, Database etc.• WebLogic support

• Oracle Enterprise Pack for Eclipse• Best of breed Eclipse bundle focused on Java Development• Rich capabilities for WebLogic Java EE developers

• NetBeans• Open Source and tooling for Java RIs• WebLogic and generic Java platforms (SE, EE, ME, JavaFX)

Page 16: WebLogic Developer Experience and Java EE 6

Oracle Restricted and Confidential

Oracle Enterprise Pack for Eclipse

• Oracle’s strategic Eclipse development environment• Certified Plug-in to Eclipse IDE

• Full WebLogic Server API support• Key Differentiators

• Detect potential runtime errors at design time• Understand large existing J2EE applications

• Download latest version from OTN• All In One bundle of Eclipse and OEPE Plug-ins• Plug-ins zip for existing Eclipse users

• Install from Eclipse Update Sites• Update sites available for install on demand• Easiest way to obtain future updates

• Supports latest Eclipse version• Available for Eclipse 3.6 (Helios)

• Agile and Frequent Release Schedule• Quarterly feature releases

Page 17: WebLogic Developer Experience and Java EE 6

Agenda

• WebLogic Server Benefits• Developing on WebLogic - Overview • What’s New for Developers in WebLogic 11gR1(10.3.4)• Next Steps for WebLogic and Java EE6 • Conclusion

Page 18: WebLogic Developer Experience and Java EE 6

• Developer Experience

• Active GridLink for RAC

• Messaging

• ActiveCache

• Java Virtualization

• Operations

• Exalogic Elastic Cloud

3 2 1

New Dec 2010

New Jan 2011

WebLogic 11gR1 Highlights and Recent UpdatesWebLogic Server 10.3.4 and Exalogic

PartitionedDistributed

Topics

Hardware/Software

Optimized

WebLogic/Exalogic RAC

IntegrationNew Jan 2011

JPA 2.0JAX-RSMavenNew Jan 2011

CoherenceIntegration

New Jan 2011

Page 19: WebLogic Developer Experience and Java EE 6

New Java EE6 SupportWebLogic Server 11gR1 (10.3.4)

• Support for JSF 2.0 • Delivered in 10.3.3

• Support for JPA 2.0• Uses the JPA 2.0 reference implementation via

Oracle TopLink /EclipseLink• Supported by Oracle Enterprise Pack for Eclipse• Adds more mapping capabilities and options• Optimistic AND pessimistic locking• Criteria API for Java API-based queries

• Support for JAX-RS 1.1• Uses the Jersey 1.1 reference implementation• RESTful Web Services support - simple client/server Web Services

using stateless protocol (HTTP)• Update web.xml to delegate requests to Jersey Servlet, add JAX-RS

annotations and the REST is easy

Page 20: WebLogic Developer Experience and Java EE 6

WebLogic Zip Distribution

• Downloadable from OTN• Reduces download size over 70%• Makes WebLogic easier to access• Complete version of WebLogic Server• Omits minor tools (e.g. Smart Update)

• Download, unzip, go• Portable, platform independent• Automatic domain creation on startup

• Supports popular platforms• Mac OSX• Windows• Linux

• Fully compatible with production deployments

Page 21: WebLogic Developer Experience and Java EE 6

New WebLogic - Maven IntegrationSummary

• Responds to demand from developers• WebLogic Server 11g R1 (10.3.4) provides

Maven plugin for application deployment operations• Maven Mojo + WebLogic Deployer + WebLogic

Client• Supports deployment of Maven projects to

WebLogic Server directly from Maven• No need to use console or command line

deployment utility• Can be wired into Maven lifecycle to automate

deployment for specific goals

WebLogic Domain

Development Server

Spring Apps

Java EE

Page 22: WebLogic Developer Experience and Java EE 6

Cluster

Server 1 Server 2 Server 3

DT Member 1

DT Member 2

DT Member 3

Partitioned Distributed TopicsEvent Driven Architectures

Subscription SubscriptionSubscription

Server 4

DT Member 4

Subscription

Deploy another MDB to the cluster

Distributed Topic

MDB 2 MDB 2 MDB 2 MDB 2

The MDB creates its own UDT subscription

MDB MDB MDB MDB

Subscription 2 Subscription 2Subscription 2Subscription 2

Each sub/MDB gets a copy of the message

1 2 3 45 6 7 8

1 2 3 45 6 7 8

• Event Driven SOA/Looser Coupling – Add subscribers without any dependency on publishers

• Parallelism for scalability and performance

Page 23: WebLogic Developer Experience and Java EE 6

• Helios, Java EE6• Develop w/JSF 2.0, JPA 2.0 on

WebLogic 11gR1 (10.3.4)• Oracle Coherence Support• JDBC Data Source Descriptor Editor• WebLogic Scripting Tool IDE

• Full Jython/Python development based on PyDev IDE

• Project/Facet Configuration for WLST • Define and Reuse WLST Templates• Graphical Mbean Explorer• Eclipse Integrated WLST Console• JavaDoc style help for WLST

commands• WLST Debugger

What’s new in OEPE 11gR1

Page 24: WebLogic Developer Experience and Java EE 6

Simplifying Open Source IntegrationClassLoader Analysis Tool in WebLogic 11gR1 (10.3.4)

• Application provided libraries can collide with 3rd party libraries used by WebLogic Server• Hard to diagnose class and library conflicts

• Filtering Classloader feature enables applications to use their own libraries• Correctly configuring it can be a challenge

• Classloader Analysis Tool Helps Identify and Resolve Conflicts Quickly• CAT cracks open the classloader black box• Displays classloaders’ hierarchies and sources• Allows you to search for a class/resource on a classloader• Views class definitions, interfaces• Analyzes classpath conflicts, generates corresponding

filtering classloader configuration

CAT

WLSClassLoaders

Page 25: WebLogic Developer Experience and Java EE 6

Agenda

• WebLogic Server Benefits• Developing on WebLogic - Overview • What’s New for Developers in WebLogic 11gR1(10.3.4)• Next Steps for WebLogic and Java EE6 • Conclusion

Page 26: WebLogic Developer Experience and Java EE 6

Java EE 6

• Significant evolution of the Java EE platform• Significant updates to existing specifications• Addition of innovative new specifications and deployment models• More power and flexibility• Ease of use, especially through annotations• Introduction of profiles of Java EE applications

• Java EE6 Web Profile• The first Java EE profile!• Specifies a subset of Java EE 6 APIs targeted at “modern web

applications”• Covers page presentation, client state management, business logic, data

access, transactions• Enables construction of modular, lighter-weight, faster startup servers• Reduces complexity and remote access points

Page 27: WebLogic Developer Experience and Java EE 6

Java EE 6

Web Profile

Servlet 3.0

JSF 2.0

JSP 2.2

EJB 3.1 (Lite)

CDI 1.0

JTA 1.1

JPA 2.0

BeanValidation

JAX-RS

JMS

JAX-WS

JCA

EJB 3.1*

JNDI

RMI

SAAJ

JSR 77

JAAS

JSR88

JAX RPC

Managed Beans

DI for Java

Interceptors 1.1

CommonAnnotations

Full Platform

Already supported in WebLogic 11gR1 (10.3.4)

Page 28: WebLogic Developer Experience and Java EE 6

WebLogic Server, Java EE6 and Web Profile

• WebLogic Server will implement the Java EE 6 Full Platform• WebLogic Server will also provide Java EE 6 Web Profile offerings• Developer Web Profile

• Targeted specifically for developers• Goal: Zip file < 50MB in size, startup < 5s• Shares Java EE containers with WebLogic Server Full• Uses new, lightweight modular kernel• Lightweight console• Single server only

• Production Web Profile• Full production support for Web Profile applications• Supports enterprise QOS concerns

• Compatibility and migration support from prior WebLogic versions

Page 29: WebLogic Developer Experience and Java EE 6

Agenda

• WebLogic Server Benefits• Developing on WebLogic - Overview • What’s New for Developers in WebLogic 11gR1(10.3.4)• Next Steps for WebLogic and Java EE6 • Conclusion

Page 30: WebLogic Developer Experience and Java EE 6

www.YouTube.com/OracleWebLogic


Recommended