Weblogic Architecture 1 Outline Application Servers Web Logic

Weblogic Architecture 1

Outline § Application Servers § Web. Logic Server and Web. Logic Clusters § What’s New in Web. Logic Server 6. 0 § Web. Logic Server 6. 0 on Open. VMS™ § Usage Scenarios 2

Two-Tier Client/Server Architecture Difficulties – Doesn’t scale well because the server has to handle many connections – Hard to maintain application code on clients Clients Server 3

Three-Tier Architecture § Clients manage direct interaction with end users, accepting requests and displaying results § Application Servers host the application logic, coordinating communication, synchronization, and transactions § Persistent storage devices provide durable, transactional management of the underlying data Clients Application Server Database 4

Web Application Servers § Logically, a front-end web server hosts static pages and proxies servlet requests to a back-end application server § The application server should itself host static pages as well as interfacing with industry-standard Web servers via proxy plug-ins Clients Browsers Web Server Application Server Database 5

Web Application Servers The preferred platform for e. Business – Customer self-service – Supply-chain Management – Distribution-channel Management – Trading and Banking – Provisioning – Telecommunications – Consumer-oriented Web sites – CETS 2001 Web Site –… 6

Java 2 Enterprise Edition (J 2 EE) 1. The Java platform for Web Application Servers – – – – – Java Servlets / Java Server Pages (JSP) Enterprise Java Beans (EJB) Java Messaging Service (JMS) Remote Method Invocation (RMI) Java Database Connection (JDBC) Java Naming & Directory Interface (JNDI) Java Transaction API (JTA) Java IDL / RMI over IIOP (CORBA Interoperability) Java Mail 7

J 2 EE Value Proposition Application J 2 EE JVM OS OS OS Hardware Pre Java With J 2 EE 8

Investment Protection with Enterprise Java Distributed components/ objects HTML/ Web Database Enterprise Java Services A server based on Java 2 Enterprise Edition for investment protection, interoperability, and portability § Distributed objects/components – Enterprise Java. Beans™ (EJB) – Remote Method Invocation (RMI) – Java Transaction API (JTA) – Java Naming & Directory Interface (JNDI) – Java Messaging Service (JMS) § Web/HTML – Servlets including session management – Java Server Pages (JSP) / Java HTML § Database access – Java Database Connection (JDBC) – Multi-tier JDBC 9 – EJB Entity Beans

Outline § Application Servers § Web. Logic Server and Web. Logic Clusters § What’s New in Web. Logic Server 6. 0 § Web. Logic Server 6. 0 on Open. VMS™ § Usage Scenarios 11

The Web. Logic Server § An integrated implementation of the J 2 EE Standard § Shipping various APIs since 1996 § Over 10, 000 corporate customers and more than 1, 000 ISVs § Written entirely in Java § Portable and fast 12

Web. Logic Architecture Web. Logic Server HTTP (Web) services Internet JDBC Presentation & Business logic Other VB Servlet/JSP EJBs, RMI Objects Java Power. Builder 13

Web. Logic Architecture § Web. Logic is based on a lightweight, messagepassing Kernel that provides a fast, flexible implementation of RMI. § Since RMI is a peer-to-peer model, any JVM can host objects - the Kernel appears on both clients and servers. § Other services, such as EJB and JMS, are built on top of RMI on the server. 14

Web. Logic Clusters Web Clients (via Web Server) Web Server HTTP routing (e. g. , Net Director), Firewall WL Plug-In (NSAPI, ISAPI) Web Clustering Servlet/ JHTML/JSP Servlet/JSP Web Server WL Plug-In (NSAPI, ISAPI) State Data (routing, load balancing, failover) Firewall, Net Director Component, Object Clustering State Data Servlet/ JHTML/JSP Servlet/JSP Web Clients (with Web. Logic Web Server) Enterprise EJBs, RMI Java. Beans Objects State Data (routing, load balancing, failover) Enterprise EJBs, RMI Java. Beans Objects State Data Programmed Clients (Java, COM) Enterprise EJBs, RMI Java. Beans Objects 16

Why Cluster? § Scalability – Dynamically add or remove servers as needed to meet user demand. – Distribute the load of requests among the servers so that all resources remain fully utilized. § High availability – No single point of failure in either the system or the application. – Automatic failover of requests from non-working components to working components. 17

Recall Unclustered: Web Application Servers Clients Browsers Web Server Application Server Database 18

Web. Logic Cluster Architecture Servlet Clustering Object Clustering DNS Round Robin Database Browsers Web Servers Application Servers 19

Web. Logic Clustering In Action (1) Servlet Clustering DNS Round-robin Web Server WL Plug-In (NSAPI, ISAPI) State Data Object Clustering EJB SB Servlet /JSP State Data DBMS EJB SB Servlet /JSP EJB EB #1 Servlet Engine EJB Engine Database 20

Web. Logic Clustering In Action (2) DNS Round-robin Web Server WL Plug-In (NSAPI, ISAPI) Servlet Clustering State Data WL Plug-In (NSAPI, ISAPI) EJB SB Servlet /JSP State Data Web Server Object Clustering DBMS EJB SB Servlet /JSP EJB EB #1 Servlet Engine EJB Engine Database 21

Web. Logic Clustering In Action (3) Servlet Clustering Object Clustering State Data DNS Round-robin Web Server WL Plug-In (NSAPI, ISAPI) Servlet /JSP State Data Web Server WL Plug-In (NSAPI, ISAPI) EJB SB DBMS EJB SB Servlet /JSP EJB EB EB #1 #1 EJB Servlet Engine EJB Engine Database 22

Web. Logic Clustering In Action (4) Servlet Clustering Object Clustering DNS Round-robin Web Server WL Plug-In (NSAPI, ISAPI) State Data Servlet /JSP State Data Web Server WL Plug-In (NSAPI, ISAPI) EJB SB EJB EB #1 DBMS EJB SB Servlet /JSP EJB EB #1 Servlet Engine EJB Engine Database 23

Web. Logic Server Clustering Machinery Enterprise Enterprise Java. Bean EJB, RMI, Java. Bean JSP, Servlet Replicated Components Replicated JNDI Directory Load balancing policies: Random Round-robin, Queue-length “Smart Stubs” Routing, Load balancing, & Failover/Recovery 24

Outline § Application Servers § Web. Logic Server and Web. Logic Clusters § What’s New in Web. Logic Server 6. 0 § Web. Logic Server 6. 0 on Open. VMS™ § Usage Scenarios 26

What’s New in Web. Logic Server 6 § Usability and Manageability Improvements § Increased Standards Support § New Platform Services § Additional Scalability / Reliability Features 27

Usability and Manageability Improvements § Completely New Web Based Management Interface Offers: – All from a Web Browser – Manages All Areas of Configuration – Changes in Configuration Are Persistent – Centralized Application Repository – Metrics on Server Status (Cluster Health, User Sessions, Etc. ) 28

Usability and Manageability Improvements Administrate Entire Enterprise of Web. Logic from Single Console: WLS Admin Single Administrative Domain Cluster #1, San Jose Cluster #2, Munich Cluster #3, Tokyo 29

Increased Standards Support § J 2 EE Version 1. 2 Complete: – EJB 1. 1, JMS, JDBC, JTA, Java. Mail, Servlet, JSP, JNDI § Some of J 2 EE Version 1. 3: – JMX, EJB 2. 0 § Complete Distributed Transaction Manager: – Completely Native Java – Works with Any XA Compliant Resource § Databases Via JDBC § Message Queuing Systems (MQSeries, Web. Logic JMS) § BEA Provides Oracle XA JDBC Driver 30

Increased Standards Support § EJB 2. 0 Implementation – Supports Both 1. 1 and 2. 0 Beans – Includes Message Driven Beans § EJB Can Be Automatic JMS Consumer § Beans Invoked When Messages Arrive in Queue – Native O/R Mapping § Entity Bean Relations – Option to Defer to Database Locking § Provides Optimistic Concurrency 32

New Platform Services Major Web Server Enhancements § Native Code Extensions for File Serving – In Performance Pack – Faster and More Scalable Than Apache § Support for Virtual Hosting – Host Multiple Domains on a Single Web. Logic § Integrated User Management – Manage User Accounts and Access in Console § Full Support for HTTP Version 1. 1 – Upgrades Support from 1. 0 with Partial 1. 1 § Integrated with Web Load Balancing Solutions – Fully Functional Clustering Including In Memory Replication – Hardware: Alteon/Nortel and others… – Software: Resonate 33

Presented By Lovin Varghese, Technical Manager, Software Technology Group Ltd. Email id : lovin_v@yahoo. com 34
- Slides: 30