Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 32

<Insert Picture Here>

Weblogic Server 11g R1 Overview


Saurabh Arora <saurabh.arora@oracle.com> PMTS, Weblogic SE Team

Agenda
Essential WLS Concepts Architecture Clustering

<Insert Picture Here>

Essential WLS Concepts

Domains - Clusters - Tiers


Domain

Cluster Cluster Cluster

Browsers

Web Servers

Servlet Engines

Object Databases Servers

Essential WLS Concepts


Domain
Unit of Management / Configuration 1 Admin Server 0 100s of managed servers

Administration Server
Central point for configuration and management Hosts Console web application Typically dedicated to management in production environments (does not usually host applications) Only required to be running for configuration changes

Essential WLS Concepts


Cluster
Collection of multiple managed servers Domains can have 0 or more clusters A managed server can be standalone or a member of a single cluster Clusters typically homogeneous but this is not strictly required Much more detail in the clustering deep-dive session

Essential WLS Concepts


Deployment / Configuration Changes
Admin Server distributes application files to managed servers Configuration contains target list indicating where an application is deployed

Two-phase deployment / configuration architecture


Similar to XA concept All target servers receive change in prepare phase If all vote success then activate phase commits change Ensures changes occur everywhere or nowhere

Essential WLS Concepts


Node Manager
Watchdog process Start / Stop / Monitor Servers Java Node Manager / Scripted (SSH) Node Manager Required for console to remotely start/stop servers or for some HA features (server migration / singleton server)

Essential WLS Concepts


IDE
JDeveloper Provides connector for Weblogic Server. Oracle Eclipse Pack (Formerly Workshop IDE ) provides developer experience WLS supports any IDE or emacs, vi etc Specific weblogic support by 3rd party ides JBuilder Intellij

Essential WLS Concepts


Configuration
Web Console
Weblogic Console Oracle Enterprise Manager

WLST
Jython-based scripting

Command-line tools
weblogic.appc validates application and generated container code

General philosophy is to provide equivalent Weblogic GUI, command-line, programmatic, and scripting functionality

Web Services
OWSM Integration. JAX-WS 2.1
(based on glassfish)

JAX-RPC 1.1
Internal implementation.

WS-Security 1.1 WS-SecureConversation 1.3 WS-Security Policy 1.2 WS-Policy 1.5

JDBC and JMS


JDBC Type 4 compliant. JDBC Modules
JDBC System Modules System level modules, deployed and managed by console. JDBC Application Modules Part of the application, bundled with the Enterprise Archive.

Weblogic JMS compilant with JMS 1.1 spec. 3rd Party JMS Server is supported

Servlets and EJB


Servlet Spec 2.5 EJB 3.0 support JDO 2.0 Java Persistence 3.0

Supported Platforms
Operating Systems (32 bit and 64 bit supported)
AIX HP-UX Linux Solaris Windows

Supported Platforms
WebServers
Apache Microsoft IIS Oracle HTTP Server Sun Java System Web Server

Java
JDK 6

Supported Platforms
Databases
JDBC 4.0 compliant implementation using DataDirect v3.7. Oracle (and Oracle Real Application Clusters) Oracle Thin Driver IBM DB2 Microsoft SQL Server MySQL Sybase

<Insert Picture Here>

Architecture Overview

Config JMS JDBC JCA WS-* EJB WebApp HTTP/S (Work, Timer, Health) IIOP/S LDAP/S T3/S DCOM

WL-RMI
JRMP

Custom

FTP

Kernel Service Naming Service Server Kernel

Transaction Service

Architecture Overview

Cluster/Replication Container Configuration/Diagnostics


Role Custom Cert Aud Atn Adj Atz

Security

Server

Management API (JMX/JSR88)


Portlet Portlet Portlet

Console

WL-Servlet

WLST

Application

Application (EAR)

Config

JDBC

WAR

RAR

JMS

EJB

Scalable IO

Messaging

Protocol

Fully Integrated Containers


Look and feel of a cohesive system Containers run on a kernel that provides
Work scheduling Timers Logging Diagnostics OAM

Kernel hardened for more than 10 years Clustering built from ground up First class integration amongst containers e.g. JMS and RMI

Emphasis on modularity
Over 74 modules created out of WebLogic code Framework available for plugging in new containers
JMSServiceGroup CoreServiceGroup OAM EJBServiceGroup EJB MDB Timers Dependency ServerServicesManager JMS Bridge SAF

License
LDAP Security

Example Spring container integration


Console Config

Monitoring
Managed Server Admin Server Spring Archive
Server Kernel

Spring Archive

Deployment action

2-Phase deployment

External Dependencies
WebLogic depends on a few external modules. They include :
Open Source Portal Lite CSS

Custom hooks in JRockit for performance

Work Manager
Work Manager is the thread Manager in the server
Replaces the Execute Queue from 8.1 server Based on commonj.work api.

Tunable thread pools for runtime performance and throughput.

<Insert Picture Here>

Clustering

Clustering
What is Cluster
Group of Weblogic Server Instances working together. Used to provide a single instance view to client.
Client

Server

Web Server

Cluster

Server

Client

Communication in Cluster.
IP Multicast Communication
Default Backward compatible One to many Require multicast support by physical networks.

IP Unicast Communication
Easier No multicast support required from network hardware.

Cluster
Clustering is Supported by the following components
Web Applications EJB and RMI Objects JMS Destinations JDBC Connections

Web Application and Cluster


Clustering is used for Http Session Replication Replications Types
In-Memory replication JDBC based persistence

Other non-replicated approach for session persistence Click the button to launch
Memory (single server) Local File system Cookie based the demo

Cluster
EJB
Deploy the application on the whole cluster. Clustering with Replica based Stubs Stubs used by clients are contain list of all servers on the clustered Stateful Objects (like stateful session beans ) change servers on failover. Stateless Objects can change servers any time.

Cluster and JMS


Distributed Destinations
Proxy to an no of physical destinations deployed in the domain.

Cluster and JDBC


JDBC is a stateful protocol.
Managed server dies, rollback of transaction. No Failover at server layer.

Click the button to launch the demo

<Insert Picture Here>

Q&A

You might also like