Upload
arun-gupta
View
14.521
Download
2
Tags:
Embed Size (px)
DESCRIPTION
WebLogic 12c Developer Deep Dive at Oracle Develop India 2012
Citation preview
1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server 12c: Developing Modern, Lightweight Java EE 6 Applications Arun Gupta, Technology Evangelist blogs.oracle.com/arungupta, @arungupta
3 Copyright © 2012, 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 Oracle’s products remains at the sole discretion of Oracle.
4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server 12c #1 Application Server Across Conventional and Cloud Environments
Deploy/Run on Conventional
Systems
Deploy/Run on High Performance
Engineered Systems
Deploy/Run on Private and Public Clouds
5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
User Engagement
Identity Management & Security
Business Process Management
Content Management
Business Intelligence
Service Integration Data Integration
Development Tools
Enterprise Management
Web Social Mobile
Cloud Application Foundation
Traffic Director
Exalogic Elastic Cloud
Oracle Public Cloud
Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud
Cloud Application Foundation
WebLogic Server Coherence Tuxedo
6 Copyright © 2012, 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
7 Copyright © 2012, 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 © 2012, Oracle and/or its affiliates. All rights reserved.
Lightweight Development with WebLogic Server
• 2X-6X download size improvement for developers
• No installer, unzip and go on Win/Linux/OSX
• Start an instance with -Dservertype=wlx to launch without EJB, JMS, and JCA containers
• FastSwap greatly reduces project redeployment requirement when doing iterative deployment
168mb
318mb
1GB
11g Full Distro 11g Zip Distro 12c Zip Distro
9 Copyright © 2012, 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
• 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
Conven&onal Systems
Engineered Systems
Private and Public Clouds
WebLogic Server
WebLogic Server
WebLogic Server
Common APIs, Runtime, Assemblies
Virtual Development /Test with Assemblies
WLS
DB
WLS
Coherence
OTD
SOA Suite
Coherence
WLS
DB
Custom App.
10 Copyright © 2012, 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 © 2012, Oracle and/or its affiliates. All rights reserved.
Seamless Upgrade From WebLogic, iAS and Others
WebLogic Server 11g
JBoss WebSphere
Internet Application Server
Migration Services Automated Tooling
GlassFish
Simple Upgrade Redeployment
12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Modern Development with Java EE 6
• API Pruning • Standards-based
dependency injection • Handle simple to complex with
no external dependencies
Flexible & Lightweight
• Embrace open source frameworks • Enable Drag & Drop
framework installation • Standards-based DI extensions
don’t create proprietary lock-in
Extensible
• POJO Programming Model • More annotations, better IDE support • Less XML configuration, more convention • Annotations, not deployment descriptors
Developer Productivity
13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Major New Updates in Java EE 6
* Based on a Sample POJO/JPA/REST Based Application Built for JavaOne
• 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
Lines of Code* Lines of XML* Java Classes*
25% Less
50% Less
80% Less
• Simplification, Productivity • Managed Beans 1.0 • Bean Validation 1.0 • JAX-WS 2.2
• Modernization • Context & Dependency
Injection 1.0 • Bean Validation 1.0 • Java API for RESTful
Web Services
14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scaling up to WebLogic Server from GlassFish
EAR WAR
GlassFish Application
glassfish-web.xml
<Deployment Descriptor>
sun-web.xml
<Deployment Descriptor>
DETECT DEPLOY CONVERT GF
DD & USE
Built in GlassFish Descriptor Recognition for Easy
Re-Deployment to Oracle WebLogic Server
15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
16 Copyright © 2012, 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
Business Services
REST
SOAP
17 Copyright © 2012, 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 © 2012, Oracle and/or its affiliates. All rights reserved.
IDE Tool Support for WebLogic Server 12c
… Coming
Today
Text Editors
19 Copyright © 2012, 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
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
New
New
New
New
New
20 Copyright © 2012, 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
<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.build.finalName}.${project.packaging}</source> <name>${project.build.finalName}</name> </configuration> </execution> </executions> </plugin>
WebLogic Maven Plug-in
21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Program Agenda
Modern, Lightweight Java EE 6 applica&ons for conven&onal and cloud deployment
Extending your exis&ng skills with the latest standards to Oracle WebLogic Server
Extending your exis&ng open source skills to Oracle WebLogic Server
Write less glue code, more business logic when using integrated services
23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Integrated Services and WebLogic Server 12c
WebLogic Server 12c Messaging Business
Logic
Transactions Security Protocols
Tuxedo Connector
Persistence Oracle Traffic
Director
Oracle Traffic
Director
Firewall
HA Heartbeat
Application Server
Cache Server Messaging Server
LDAP server
Database Server
Internet
Web Services
• Best of breed services within WebLogic Server
• Built-in integration with other infrastructure services
24 Copyright © 2012, 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
Coherence WebLogic
Coherence WebLogic
Coherence
Coherence Coherence
Coherence
Coherence WebLogic
Coherence WebLogic
Coherence Coherence
Coherence WebLogic
Coherence WebLogic
Coherence
Coherence Coherence
Coherence Data Cache Data Cache Query/Event
Query/Event Query/Event
Query/Event
Declarative Session Management
Persistence Caching with Read and Write Through
Query, compute and event
Java EE 6 Business Logic
User Interface
ADF Faces / WebCenter ADF Mobile Portlets
HTML 5.0
Desktop Web Office
AJAX WAP 2.0
© 2011 Oracle Corporation – Confidential
Mobile
WebLogic Supports Multi-Channel Deployment
Multi-Channel Development Single Programming Model, Flexible Rendering Technology
26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Virtual Development Assemblies with OVAB
Metadata
Assembly
Machine Pool
OHS Traffic Director
Load Driver
WebLogic Coherence Service Bus
RAC-1 RAC-2
SOA
• Create assemblies including multi-tier 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
27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Summary
• 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
#1 Application Server Across Conventional and Cloud Environments
28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Q&A
29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Join the WebLogic Community TwiFer twi%er.com/oracleweblogic
Facebook facebook.com/oracleweblogic
Oracle’s WebLogic blog blogs.oracle.com/weblogicserver
Youtube Youtube.com/oracleweblogic
Developer Webcast Series oracle.com/goto/weblogicdevcast
Oracle.com/weblogic
30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.