Sie sind auf Seite 1von 31

<Insert Picture Here>

Developer Experience with WebLogic Server

2011 Oracle Corporation

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.

2011 Oracle Corporation

Agenda
Why WebLogic Suite? Developing on WebLogic Whats New for Developers in WebLogic Server Next Steps for WebLogic and Java EE6 Conclusion

2011 Oracle Corporation

<Insert Picture Here>

Why WebLogic Suite?

2011 Oracle Corporation

Why Develop on WebLogic Suite?


Complete, Open, Integrated
Ever better integration between WebLogic, TopLink, GlassFish, Coherence

Java EE 6 changes the game


Web profile, modularity, CDI, JAX-RS, Servlet 3.0, JPA2, JSF2

Open Source integration and extension


Maven, Hudson support in WebLogic and GlassFish NetBeans and Eclipse support for WebLogic Suite

In-memory data grid integration


Eclipse Developer Tools, runtime integration with WebLogic Suite

Add/use functionality incrementally, flexibly


Start with JVM, add JPA or Coherence for persistence and scale Move up to Web Profile on GlassFish for Servlet and Web Applications Move up to full WebLogic or GlassFish for EJB, Messaging, Web Services WebLogic for larger scale, highly managed enterprise deployments

..and many other reasons, as youll see later in the slides

2011 Oracle Corporation

Application Servers from Oracle


Relationship to WebLogic Server
2008 2009
Sun Acquisition

2010

2011

Oracle Glassfish Server


BEA Acquisition

v2.1.1 v3.0

v3.0.1

v3.1

v3.1.1

Compatibility, Leverage Innovation


10gR3 (10.3.0) 11gR1 (10.3.1) 11gR1 (10.3.2) 11gR1 (10.3.3) 11gR1 (10.3.4) 11gR1 (10.3.5)

Oracle WebLogic Server


Migration Support, Tooling

Oracle Application Server Containers for Java EE (OC4J)

Maintenance for Current Versions

2011 Oracle Corporation

<Insert Picture Here>

Developing on WebLogic

2011 Oracle Corporation

WebLogic Java EE Support


Through WebLogic Server 11gR1 (10.3.4)
WebLogic Server 11gR1 is Java EE 5 compatible
Compatibility with prior Java EE versions, 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 RI Simplifies page authoring through Facelets and Templating AJAX support WebLogic Server 11g R1 (10.3.4) Patch allows JPA 2.0 via EclipseLink JPA Patch allows JAX-RS 1.0 support

2011 Oracle Corporation

WebLogic Web Services Support


Standards 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 Value-added RASP Database web service JMS transport Asynchronous web service Stateful web service with C*Web Conversational web service Custom policies Management Web service management Web service security configuration Policy management & Attachment WLST-based web service management Test page Performance monitoring

2011 Oracle Corporation

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

2011 Oracle Corporation

10

WebLogic 10.3 Development Features


Enhancements from prior WebLogic versions
Focused on improving developer productivity
Fast turnaround times
Develop Deploy Accelerate Development Cycle

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

Debug

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 Supported by Oracles Eclipse Plug-in

Reduce Time to Develop/Test

2011 Oracle Corporation

11

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 Online Management Tools WebLogic Scripting Tool (WLST) Online WebLogic Server Admin Console Fusion Middleware Control

2011 Oracle Corporation

12

Use the IDE you are comfortable with


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

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

NetBeans
Open Source and tooling for Java Ris (like GlassFish) WebLogic and generic Java platforms (SE, EE, ME, JavaFX)

IntelliJ
Great for Java, but not the best for Java EE, comparatively Excellent source editing/refactoring, multi-language support

2011 Oracle Corporation

13

Oracle Enterprise Pack for Eclipse (OEPE)


Oracles strategic Eclipse development environment
Certified Plug-in to the base, free, Eclipse IDE

Full WebLogic Server API support Key Differentiators


ADF Web Application Tools Oracle Coherence , WebLogic and GlassFish Support Detect potential runtime errors at design time

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) and 3.7 (Indigo)

Agile and Frequent Release Schedule


Quarterly feature releases

2011 Oracle Corporation

Oracle Restricted and Confidential

14

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 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 Admin Server WebLogic Console

Oracle Enterprise Pack for Eclipse Support


WebLogic Cluster/Domain Managed Server Managed Server Spring Apps Spring Apps Java EE JEE

2011 Oracle Corporation

15

<Insert Picture Here>

Whats new for Developers in WebLogic Server

2011 Oracle Corporation

New Java EE6 Support


WebLogic Server 11gR1 (10.3.4)
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

2011Oracle Corporation

17

WebLogic Server and Maven


Core Functionality
Generate Maven Plugin from WebLogic installation Install Maven Plugin into local Maven repository Configure Maven Plugin for use with project through POM Use WebLogic Maven Plugin goals to enact application deployment operations

Advanced Usage
Configuring shortcut naming for WebLogic Maven Plugin Automating deployment parameters using Maven properties Binding to Maven execution phases for automatic deployment operations Integration with Continuous Integration servers

WebLogic Domain Development Server Spring Apps Java EE

2011 Oracle Corporation

18

WebLogic Server and Maven


Today

Coming install-server, start-server, run-wlst, create-domain, stop server

2011 Oracle Corporation

19

Simplifying Open Source Integration


ClassLoader 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

CAT

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 blackbox 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

2011 Oracle Corporation

20

ClassLoader Analysis Tool, Continued


Web App used in dev mode Launch from Console View Classloader hierarchy View details of class or resource Analyze conflicts Generate FCL config

2010 Oracle Corporation

21

Whats new in OEPE 11gR1


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

2011 Oracle Corporation

22

OEPE WebLogic Descriptor Editors


Design views and wizards for common WLS deployment descriptors: *.-jms.xml New! weblogic.xml weblogic-application.xml weblogic-ejb-jar.xml JSR 88 Deployment Plans Validation of schema structure and property values Wizards suggest appropriate defaults Integrated context sensitive help for each descriptor element Available for WLS 9.x and 10.x

2011 Oracle Corporation

23

<Insert Picture Here>

Next Steps for WebLogic and Java EE6

2011 Oracle Corporation

WebLogic Server Roadmap and Java EE 6


CY2009
(Complete)

CY2010
(Complete)

1HCY2011
(Complete)

CY2012

WebLogic 10.3.1/2 Coherence 3.5


Fusion Middleware 11g R1

WebLogic 10.3.3 Coherence 3.5.3


Fusion Middleware 11g R1 (Patchset)

WebLogic 10.3.4 Coherence 3.6


Fusion Middleware 11g R1 (Patchset)

WebLogic Major Coherence 3.x


Fusion Middleware Major Version Java EE 6 Full Profile Install, patch, upgrade Diagnosability Exalogic V1.X JMS scaling RAC/JTA/JDBC + WS* update Security integration Coherence FMWC improvements Large scale OAM Common admin model Virt Phase 2 Multi-tenancy

WebLogic core with best of Oracle iAS

Foundation for Fusion Middleware 11g


GridLink for RAC

Enterprise Grid Messaging


ActiveCache
Real Operations SmartUpgrade

Incremental patchset for 11g R1 JRockit Flight Recorder Coherence configuration WebLogic with JRockit Virtual Edition Virtual Assembly Builder Web Server plug-in updates Java EE JSF 2.0 Java SCA Web Services AT/Coordination Grid Control 11g Zip/Mac OS X Developer Support

Incremental patchset for 11g R1 Exalogic Event based RAC integration Coherence operations JMS Partitioned Distributed Topics Development experience Continued alignment in WS-* and security Java EE updates JPA 2.0, JAX-RS Ongoing application certifications on WebLogic Server

2011 Oracle Corporation

25

Java EE 6 Major Changes


API Servlet 3.0 JSF 2.0 EJB 3.1 What Annotations, Async requests, WebFragments, programmatic addition of servlets/filters/listeners Facelets, Templating, Annotations, simpler navigation, Ajax controls Usability through WAR packaging, No Interface beans, @Singleton, @Startup, @Schedule, @Asynchronous

EJB 3.1 Lite CDI 1.0


JPA 2.0 JAX-RS

Lighter EJB! No CMP, no MDB, no remote support Annotation based dependency injection, targeted at use of enterprise beans with Web Applications
Additional mappings, explicit locking, CriteriaQuery RESTful Web Services

Already supported in WebLogic 11gR1 (10.3.5)

2011 Oracle Corporation

26

JEE 6
Web Profile
Servlet 3.0 JSP 2.2 CDI 1.0
Managed Beans

JAX-RS

EJB 3.1* RMI

JSR 77 JSR 88 JAAS JAX RPC

JPA 2.0

Interceptors 1.1

JAX-WS

JSF 2.0 EJB 3.1 (Lite)

JTA 1.1
Bean Validation

DI for Java
Common Annotations

JMS

JNDI

JCA

SAAJ

Full Platform

2011 Oracle Corporation

28

<Insert Picture Here>

Conclusion

2011 Oracle Corporation

Good News for WebLogic Suite Developers!


WebLogic remains the #1 Application Server
Powerful runtime capabilities Oracle product support and integration

New development capabilities you can use today


Server tools Choice of IDEs Key Java EE6 APIs, Open Source support

Full Java EE6 support planned


Full platform WebLogic Server.next Web profile use Oracle GlassFish Server Migration from prior WebLogic versions

Youre on the right platform!

2011 Oracle Corporation

31

Learn more
Downloads on Oracle Technology Network (OTN)
http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html http://download.oracle.com/docs/cd/E17904_01/wls.htm http://www.oracle.com/technetwork/middleware/weblogic/overview/index.html http://www.oracle.com/technetwork/middleware/fusion-middleware/community/index.html http://forums.oracle.com/forums/category.jspa?categoryID=13

Product Documentation Data Sheets and Whitepapers Blogs OTN Discussion Forums Books
http://www.oracle.com/technetwork/middleware/fusion-middleware/learnmore/index.html

2011 Oracle Corporation

32

<Insert Picture Here>

2011 Oracle Corporation

Das könnte Ihnen auch gefallen