Weblogic Server 11g R1 Overview

Embed Size (px)

Citation preview

  • 7/29/2019 Weblogic Server 11g R1 Overview

    1/32

    Weblogic Server 11g R1 Overview

    Saurabh Arora

    PMTS, Weblogic SE Team

  • 7/29/2019 Weblogic Server 11g R1 Overview

    2/32

    Agenda

    Essential WLS Concepts

    Architecture

    Clustering

  • 7/29/2019 Weblogic Server 11g R1 Overview

    3/32

    Essential WLS Concepts

  • 7/29/2019 Weblogic Server 11g R1 Overview

    4/32

    Browsers Web

    Servers

    Servlet

    Engines

    Domains - Clusters - Tiers

    Object

    Servers

    Databases

    Domain

    Cluster ClusterCluster

  • 7/29/2019 Weblogic Server 11g R1 Overview

    5/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    6/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    7/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    8/32

    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 forsome HA features (server migration / singleton server)

  • 7/29/2019 Weblogic Server 11g R1 Overview

    9/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    10/32

    Essential WLS Concepts

    Configuration Web Console

    Weblogic Console

    Oracle Enterprise Manager

    WLST

    Jython-based scripting

    Command-line tools

    weblogic.appc validates application and generated containercode

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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    11/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    12/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    13/32

    Servlets and EJB

    Servlet Spec 2.5

    EJB 3.0 support

    JDO 2.0 Java Persistence 3.0

  • 7/29/2019 Weblogic Server 11g R1 Overview

    14/32

    Supported Platforms

    Operating Systems (32 bit and 64 bit supported)

    AIX

    HP-UX

    Linux

    Solaris

    Windows

  • 7/29/2019 Weblogic Server 11g R1 Overview

    15/32

    Supported Platforms

    WebServers

    Apache

    Microsoft IIS

    Oracle HTTP Server

    Sun Java System Web Server

    Java

    JDK 6

  • 7/29/2019 Weblogic Server 11g R1 Overview

    16/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    17/32

    Architecture Overview

  • 7/29/2019 Weblogic Server 11g R1 Overview

    18/32

    Architecture Overview

    TransactionService

    Server Kernel

    Scalable IO

    WL-Servlet WL-RMI

    Messaging

    Protocol

    HTTP/S

    IIOP/S

    T3/S

    LDAP/S

    DCOM

    JRMP

    FTP

    KernelService(Work,Tim

    er,Health)

    Config

    uration/Diagnostics

    Security

    Cert

    Atn

    Atz

    Adj

    Aud

    Role

    Cluste

    r/Replication

    Namin

    gService

    Console

    Portlet

    Portlet

    Portlet

    WLST

    ManagementA

    PI(JMX/JSR88)

    Application(EAR)

    WAR

    EJB

    RAR

    JMS

    JDBC

    Config

    Custom

    ServerApplication

    Container

    WebApp

    E

    JB

    JCA

    JD

    BC

    JMS

    Co

    nfig

    Custom

    W

    S-*

  • 7/29/2019 Weblogic Server 11g R1 Overview

    19/32

    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

  • 7/29/2019 Weblogic Server 11g R1 Overview

    20/32

    Emphasis on modularity

    Over 74 modules created out of WebLogic code

    Framework available for plugging in new containers

    ServerServicesManager

    CoreServiceGroup

    OAM

    License

    LDAP

    Security

    EJBServiceGroup

    EJB

    MDB

    Timers

    JMSServiceGroup

    JMS

    Bridge

    SAF

    Dependency

  • 7/29/2019 Weblogic Server 11g R1 Overview

    21/32

    Example Spring container integration

    Admin Server

    Spring Archive

    Managed Server

    Spring Archive

    Deployment action

    Console

    Config

    Monitoring

    Server Kernel

    2-Phase

    deployment

  • 7/29/2019 Weblogic Server 11g R1 Overview

    22/32

    External Dependencies

    WebLogic depends on a few external modules. They

    include :

    Open Source

    Portal Lite

    CSS

    Custom hooks in JRockit for performance

  • 7/29/2019 Weblogic Server 11g R1 Overview

    23/32

    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 andthroughput.

  • 7/29/2019 Weblogic Server 11g R1 Overview

    24/32

    Clustering

  • 7/29/2019 Weblogic Server 11g R1 Overview

    25/32

    Clustering

    What is Cluster

    Group of Weblogic Server Instances working together.

    Used to provide a single instance view to client.

    Web

    Server

    Client

    Client

    Server

    Server

    Cluster

  • 7/29/2019 Weblogic Server 11g R1 Overview

    26/32

    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.

  • 7/29/2019 Weblogic Server 11g R1 Overview

    27/32

    Cluster

    Clustering is Supported by the following components

    Web Applications

    EJB and RMI Objects

    JMS Destinations

    JDBC Connections

  • 7/29/2019 Weblogic Server 11g R1 Overview

    28/32

    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

    Memory (single server)

    Local File system

    Cookie based

    Click the button to launch

    the demo

  • 7/29/2019 Weblogic Server 11g R1 Overview

    29/32

    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.

  • 7/29/2019 Weblogic Server 11g R1 Overview

    30/32

    Cluster and JMS

    Distributed Destinations

    Proxy to an no of physical destinations deployed in the

    domain.

  • 7/29/2019 Weblogic Server 11g R1 Overview

    31/32

    Cluster and JDBC

    JDBC is a stateful protocol.

    Managed server dies, rollback of transaction.

    No Failover at server layer.

    Click the button to launchthe demo

  • 7/29/2019 Weblogic Server 11g R1 Overview

    32/32

    Q & A