how weblogic 12c can boost your productivity
Post on 13-May-2015
2.644 Views
Preview:
DESCRIPTION
TRANSCRIPT
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute2
What WebLogic 12c has to offer to boost your productivityBruno BorgesPrincipal Product ManagementJava Evangelist
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute3
Safe Harbor Statement
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 remain at the sole discretion of Oracle.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute4
Investing to Grow Market LeadershipWebLogic Server - #1 Across Conventional and Cloud Environments
#1Java EE 6, Java SE 7HTML5
Best of Breed with Leading Java
Standards
Optimized for Engineered Systems
Foundation for Fusion Middleware & Applications
Oracle Business Applications
Cloud Application Foundation
Fusion Middleware
Reliability, Availability, Scalability, Performance and
Density
Multi-Data CenterInfrastructure
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute5
Java SE 7: Cleaner, More Maintainable Code
7• 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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute6
Developer Innovation and Productivity
Certified Java EE 6 and SE 7 Make Development Faster– Fewer Java Classes, Less Code, Less XML
With Modern Programming Techniques– Dependency Injection, Annotations, POJO, REST
Using Popular Industry Tool Chains– Maven, Hudson, Eclipse, JDeveloper, NetBeans
New in WebLogic Server 12c
* Based on a Sample POJO/JPA/REST Based Application Built for JavaOne
Lines of Code* Lines of XML*Java Classes*
25%Less
50%Less
80%Less
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute7
Deliver Next Generation Applications with a Mission Critical Cloud Platform• Scale to the Cloud by leveraging built-in integration with Oracle Database 12c • Efficiently utilize resources for cloud elasticity with dynamic clustering• Accelerate applications by up to 3X with Exalogic optimizations
Simplify Operations with Native Cloud Management• Consolidate to a common install, upgrade, and patch provisioning framework• Reduce complexity with standardized administrative tooling for Coherence, WebLogic and Web Tier • Drive operational simplicity with elastic Java Messaging Service
Accelerate time to Market with a Modern Development Platform and Integrated Tools • Increase developer productivity with built-in Maven support for build and lifecycle management • Unleash your data with JSON-REST services for HTML5• Develop Highly Responsive Mobile applications with WebSockets
WebLogic Server 12.1.2#1 Application Server across Conventional and Cloud Environments
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute8
Product UpdatesWhat’s in 12c?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute9
WebLogic Server 12.1.2 and Database 12c Continuous Availability, Performance at Scale, Multi-Tenancy
WebLogic Server with Database 12c– WebLogic 10.3.6, 12.1.1 – certification
– WebLogic 12.1.2 - new feature integration
Continuous Availability capabilities– Transaction Guard and Application Continuity
Multi-Tenant Database Support– Pluggable Databases running in Database Container
New scalability integration - Middle Tier Performance at Cloud Scale
– Database Resident Connection Pools
Multi-Site Availability – Global Data Services
DBMS Resident Connection Pool
Multi-Tenant Database
ReplayRead/Write
Based on TransactionGuard Information
WebLogicDomain 1
WebLogicDomain 2
WebLogicDomain n…100’s
PDB 1 PDB 2 PDB 3 PDB 4
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute10
Feature
WLS 10.3.6/12.1.1/12.1.2 WLS 10.3.6/12.1.1 WLS 12.1.2 WLS 10.3.6/12.1.1 WLS 12.1.2
11g drivers 11gR2 DB
11g drivers 12c DB
12c drivers 11gR2 DB
12c drivers 11gR2 DB
12c drivers 12c DB
12c drivers 12c DB
Application Continuity No No No NoYes
(Active GridLink only, no XA)
Yes (Active GridLink and
Generic, no XA)
Multi-Tenant Database No Yes No No Yes Yes
Dynamic switching btw PDBs No No No No No Yes
Database Resident Connection pooling No No No Yes No Yes
Oracle Notification Service (ONS) auto configuration No No No No No Yes
(Active GridLink)
Global Database Services (GDS) NoYes
(Active GridLink) No No Yes (Active GridLink)
Yes (Active GridLink)
JDBC 4.1 (using ojdbc7.jar & JDK 7) No No Yes Yes Yes Yes
Most Complete Support in WebLogic 12.1.2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute11
Dynamic ClustersSimplified Configuration with Scalability and Elasticity
Simplified Initial Cluster Configuration
Server 1
Dynamic Cluster 1
Server 2
Server Template
Elastic scaling for Cloud Environments
Simplified Operations for Cluster Scale Out
Server 1
Dynamic Cluster 1
Server 2
Server Template
Server 3 Server 4
Server 5 Server 6
Server 7 Server 8
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute12
Exalogic Optimizations - Accelerated JMS
Without Compression With Compression0
500010000150002000025000300003500040000
3X
JMS
Me
ssa
ge
s/S
ec
JMS
Exalogic Storage
Application
JMS
Exalogic Storage
Application
Problem: Maximize JMS message processing
performance on Exalogic
Solution: Compress JMS messages to optimize
I/O intensive processing
Benefit: Up to 3X throughput increase for JMS
workloads requiring message persistence
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute13
WebLogic Server 12.1.2 Install, Patch, Upgrade
Simplified provisioning across FMW– Common install, patch, upgrade
– WLS, Coherence, OHS, ADF, FMWC…
5-digit version: 12.1.2.0.0– New minor version, not a patchset
WebLogic and Coherence Distributions– OUI installers
– WLS zip distro – dev only, not patchable
Simplified FMW packaging– “FMW Infrastructure” in one installer
Opatch for WebLogic 12.1.2.0.0+– Smart Update for prior WLS releases
Oracle InstallerBEA Installer
Oracle PatchSmart Update
Reconfiguration WizardUpgrade Wizard
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute14
Managed Coherence Servers
Streamlined development and management environment for distributed applications
Introduces the Grid Archive (GAR) Follows the Java EE modelConsolidates configuration into a single distributable entityProvides Application Isolation & Lifecycle Events
Coherence remains available “standalone” including support for GARs
• Leverages WebLogic infrastructure to provide:A Coherence container similar to EJB, JMS and JCA
Management through Configuration Wizard, WebLogic admin console, WLST, JMX, FMWC
Deployment of Coherence applications (GARs)
Node Manager for lifecycle management
Release and install Coherence libraries on the system classpath (no need to package in your application)
Managed Server
AdminServer
WebLogic Domain
WebLogicCluster
Coherence Client
Managed Server
Coherence Client
Managed Server
WebLogicCluster
Coherence Server
Managed Server
Coherence Server
Coherence Cluster
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute15
Elastic JMS
Cluster-targeted JMS Servers Cluster-targeted JMS Stores Benefits
– JMS enabled on Dynamic Clusters
– Simplified scalability
– Much simpler subdeployments
– Configured clusters supported as well
Dynamic Cluster 1
Server Template
Scale to “N” Managed Servers
Server 1 Server 2
Server 3 Server 4
JMS JMS
JMS JMS
Target JMS Resources To Cluster
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute16
Development Environment
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute17
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
6X
2X
11g Full Distro 11g Zip Distro 12c Zip Distro
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute18
Enable FastSwap
Follow IDE instructions, or… Edit weblogic-application.xml deployment descriptor
Using FastSwap Deployment to minimize redeployment (WLS 12.1.2)
–bit.ly/fastswap1212
<fast-swap> <enabled>true</enabled></fast-swap>
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute19
Click icon to add picture
New and improved features Updated plugin Easier repository install Archetypes
Apache Maven
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute20
Private Repository
Modern Development PlatformMaven Updates in WebLogic Server 12.1.2
Build Manager
Developers
Compile Deploy Integrate
Problem – Develop WebLogic applications using
standard centralized build systems
Solution– New Maven plug-ins, POMs and
archetypes for distributed development
Benefit– Consistency across development teams
– Efficient use of shared Maven resources
– Use Maven as designed, local developer installs supported but not required
Product JARs POMs<project> <groupId>com.oracle.weblogic</groupId> <artifactId>webservices</artifactId> <version>12.1.2</version> <packaging>jar</packaging></project>
Archetypes
<project> <groupId>com.oracle.weblogic</groupId> <artifactId>webservices</artifactId> <version>12.1.2</version> <packaging>jar</packaging></project>
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute21
Modern Development PlatformMaven Updates in WebLogic Server 12.1.2
Build Manager
Developer
Run Sync Plugin – Populates a local or shared repository with
WebLogic jars, POMs, archetypes
– Patch/resync to maintain repository
Use WebLogic Maven Plugin– All 12.1.1 goals, plus Web Services goals
– Leverage repository(s) where possible
– Archetypes provided: WebApp, WebApp/EJB, Web Service, MDB
Standard approaches– Use Maven as designed
– Consistency across Fusion Middleware
Shared Private Repository
Product JARs POMs<project> <groupId>com.oracle.weblogic</groupId> <artifactId>webservices</artifactId> <version>12.1.2</version> <packaging>jar</packaging></project>
Archetypes
Local Repository
Product JARs POMs<project> <groupId>com.oracle.weblogic</groupId> <artifactId>webservices</artifactId> <version>12.1.2</version> <packaging>jar</packaging></project>
Archetypes
Sync plugin
WebLogic plugin
Sync plugin
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute22
1 Framework3 Great Options for IDEs
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute23
Java EE 6Business Logic
User Interface
ADF Faces / WebCenterADF Mobile Portlets
HTML 5.0
DesktopWeb Office
AJAXWAP 2.0
Mobile
WebLogic Supports Multi-Channel Deployment
Multi-Channel DevelopmentSingle Programming Model, Flexible Rendering Technology
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute24
JDeveloper 12c
Git Integration Improved Maven support Oracle Team Productivity Center
– Code review, bug templates, rss reader
– HP ALM integration
Oracle Cloud integration
Lifecycle New Features
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute25
JDeveloper Dependency ViewerAnalyze code dependencies across files
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute26
ADF 12c New Layout Components
Springboard Drawer GridLaout
New components
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute27
New ADF Faces Data Visualization Components
Sunburst TimeLine Treemap New Skin
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute28
New ADF Faces Components
Listview Paging table Code editor Multi-file upload
More components
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute29
WebLogic Server 12.1.2 Coherence 12.1.2 Oracle ADF 12.1.2 and ADF
Essentials Glassfish 4.0 and Java EE Maven Support
What’s new
OEPE – Oracle Enterprise Pack for Eclipse 12c
Click icon to add picture
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute30
WebLogic Server 12.1.2 Support
Supports all versions of WebLogic Server through 12.1.2
Run/Deploy/Debug, locally and Remotely Shared Libraries Support FastSwap WebLogic SCA Tools WLST Tooling Mbean Browser Runtime Migration Tools
Updated WebLogic Server Adapter
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute31
Oracle ADF 12.1.2 Support
New Editors for ADF Bindings ADF Templates through Facelets New code generation patterns for
ADF Rich Faces and DVT components
Iteratively Deploy & Debug with WebLogic Server and Glassfish
Rich design-time tools for Oracle ADF 12.1.2 and ADF Essentials
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute32
Oracle Coherence 12.1.2 Support
Rich Deployment Descriptor Editors– Form based wizards
– Design time validators
New tools for Coherence Managed Servers
– Project wizards for Coherence Grid Archive(GAR)
– Packaging and Deployment directly to WebLogic or Coherence Servers
Create, Deploy, and Debug Distributed Cache Applications
Node ManagerMachine
Managed Server
Node Manager
Machine
Managed Server
Node ManagerMachine
AdminServer
WebLogic Domain/Coherence Managed Servers
Cluster
Coherence App
Coherence App
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute33
OEPE 12c - JAX-RS Support
New facets and wizards to configure and create REST services Content assist and validation for JAX-RS annotations Annotations view enhanced for JAX-RS WADL Tools Create RESTful Java Clients
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute34
OEPE 12c - GlassFish and Java EE 7 Support
Redesigned server plugins for Glassfish 3.x and 4.x– Iterative deployment and debugging
– Run applications directly from the Eclipse workspace
– Easy access to logs and administrative consoles
New tools for Java EE 7– EJB, Servlet, JSF, JAX-WS, JAX-RS, JPA
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute35
OEPE 12c - New Tools for Maven
New Maven Project Wizards Support Maven project archetypes New Editors for Maven POMs Deploy/Debug Maven-based applications with WebLogic Server Develop ADF 12c applications with Maven Support FMW 12.1.2 Maven Library Management
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute36
NetBeans 7.3.1
Build pure standard Java EE applications
Support for HTML5 Applications Wizard to create Javascript
apps (Angular.js for example) Deploy on WebLogic Debug JS on Chrome
Java EE and HTML5
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute37
New HTML5 TechnologiesAvailable for 12.1.2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute38
WebSocket Protocol SupportInteractive applications with standard clients
Problem: Rich application interaction often requires client support Solution: Standards-based bi-directional connectivity to HTML5 clients Benefit: Enable interactive applications for standard Web/Mobile clients
WebLogic Server 12.1.2
Clients
Web Sockets
Stan
dard
HT
ML
5 clients
ADF Mobile
Java EE Applications
Proxies
HTTP/SWebSocket
OTD
Apache
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute39
WebSocket and WebLogic Server 12.1.2
• WebLogic Server supports the WebSocket Protocol
• API to develop applications that use WebSockets
• Deploy WAR file containing the WebSocketListener implementation and application
• Client applications (e.g. Javascript) access server applications
• Proxy support
• Apache 2.2, 2.4 with Web Server plug-in (TBA)
• Oracle Traffic Director 11g
• Oracle HTTP Server (TBA)
• Update to JSR 356 (Java EE 7) planned for future version
{JSON}
WebSocket
Web
Lo
gic
S
erve
r 12
.1.2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute40
TopLink Data ServicesProvide Enterprise Data Access with no Server-Side programming
Problem: Simplify access to enterprise data sources Solution: Auto-generate RESTful interfaces to enterprise data Benefit: Client data access and notifications with no server programming
WebLogic Server
JPA
Clients
HTTP/SJSON/XML
ChangeNotification
Database
Stan
dard
clients: H
TM
L5,
RE
ST, JS
ON
/XM
L
ADF Mobile
TopLink Data Services
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute41
Oracle TopLink Data ServicesQuery Example
$.ajax({ url: 'persistence/v1.0/auction/query/User.all', type : "GET", timeout: 2000, success: function(users) { my_js_app.showUsers(users); }, error : function(message) { console.log("Could not retrieve the list of users”); }});
Persistence Unit
Named Query
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute42
TopLink Data Services in 12.1.2 Easy to configure JSON/XML access via REST to enterprise data sources Declarative: No Java SE/EE development required
– Existing JPA apps Add TopLink Data Services web fragment to app Upon deployment, REST interfaces to entities generated using JAX-RS
– Can also generate mapping file from DB, and expose interfaces based on that
– Supports Oracle DB Notifications
Multiple Data Sources: Relational, NoSQL, Coherence Multiple Clients: HTML5/JS, mobile devices, ADF Mobile Leverage all of TopLink’s features including TopLink Grid, etc.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute43
What else? What? What?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute44
Oracle JDK 7 Java Mission Control Support
Capability Oracle JRockit JDK6 (R28+) Oracle JDK 6 Oracle JDK
7u4+Oracle JDK
7u40 (CY2013)
Host JRMC/JMC GUI Y - JRMC Y – JRMC Y - JMC Y - JMC
Binaries with JMC GUI
Default Download None Special binary
on MOSDefault
Download
WLDF JFR events and analysis Y N Y Y
JFR, JMC convergence –
JVM eventsY N N Y
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute45
WebLogic Server Runtime
OSGi Support
• WebLogic Server 12.1.2 will enable use of OSGi in WebLogic applications• Makes WebLogic more attractive for OSGi users
• Configure OSGi Framework from Admin tools• Apache Felix 4.03 is bundled with WebLogic
• Deploy/undeploy bundles• From inside EAR/WARs, referencing framework
• By placing bundle in osgi-lib directory and starting framework
• Integrated logging, use of filtering classloader
Bundle Bundle
EAR/WAR osgi-lib
Bundle Bundle
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute46
WebLogic Server 10.3.6, 12.1.1, 12.1.2 Which Version Should I Use Starting in July?
Maximum functionality, capability and value for CAF applications Use WebLogic Server 12.1.2
Maximum Fusion Middleware Support, Error Correction Cycle Use WebLogic Server 10.3.6
Will Oracle support applications being rolled out on 12.1.1 Yes, absolutely. Error Correction for two years beyond 12.1.2 GA
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute47
WebLogic Server and CAF 12.1.2Innovation and Integration Across the Stack
• HTML5
• Java
• ADF
Clients
ADF Mobile
Proxies
• WebSocket
• CAM for OHS
• Apache 2.4
• Mission Critical Cloud
• Native Cloud Mgmt
• Modern Development
WLS
WebLogic
• Mission Critical Cloud
• Native Cloud Mgmt
• HA Deployment Options
Coherence
• App Continuity
• DRCP
• MDB, GDS
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute48
Run WebLogic Server on Oracle Database AppliancesSimple. Reliable. Affordable.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Presented under Non-Disclosure Agreement – Do not Redistribute49
top related