770 likes | 1.68k Views
Weblogic Architecture. Outline. Application Servers WebLogic Server and WebLogic Clusters What’s New in WebLogic Server 6.0 WebLogic Server 6.0 on OpenVMS™ Usage Scenarios. Two-Tier Client/Server Architecture. Difficulties
E N D
Outline • Application Servers • WebLogic Server and WebLogic Clusters • What’s New in WebLogic Server 6.0 • WebLogic Server 6.0 on OpenVMS™ • Usage Scenarios
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 Server Clients
Application Server Database Clients 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
The application server should itself host static pages as well as interfacing with industry-standard Web servers via proxy plug-ins Clients Web Server Application Server Database Browsers Web Application Servers • Logically, a front-end web server hosts static pages and proxies servlet requests to a back-end application server
Web Application Servers • The preferred platform for eBusiness • Customer self-service • Supply-chain Management • Distribution-channel Management • Trading and Banking • Provisioning • Telecommunications • Consumer-oriented Web sites • CETS2001 Web Site • …
Java 2 Enterprise Edition (J2EE) • 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
Application Application J2EE JVM JVM OS OS OS Hardware Hardware Hardware With Java With J2EE J2EE Value Proposition Application Pre Java
Investment Protection with Enterprise Java • Distributed objects/components • Enterprise JavaBeans™ (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 • EJB Entity Beans Distributed components/ objects HTML/ Web Database Enterprise Java Services A server based on Java 2 Enterprise Edition for investment protection, interoperability, and portability
Outline • Application Servers • WebLogic Server and WebLogic Clusters • What’s New in WebLogic Server 6.0 • WebLogic Server 6.0 on OpenVMS™ • Usage Scenarios
The WebLogic Server • An integrated implementation of the J2EE Standard • Shipping various APIs since 1996 • Over 10,000 corporate customers and more than 1,000 ISVs • Written entirely in Java • Portable and fast
Internet WebLogic Architecture WebLogic Server HTTP (Web) services Presentation& Businesslogic JDBC Other VB EJBs, RMI Objects Servlet/JSP Java PowerBuilder
WebLogic Architecture • WebLogic is based on a lightweight, message-passing 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.
Web Clients (via Web Server) Component, Object Clustering (routing, load balancing, failover) State Data State Data Web Clustering (routing, load balancing, failover) Firewall, Net Director Web Server HTTP routing (e.g., Net Director), Firewall Servlet/ JHTML/JSP WL Plug-In (NSAPI, ISAPI) Servlet/ JHTML/JSP Enterprise JavaBeans Enterprise JavaBeans EJBs, RMI Objects Servlet/JSP Web Server State Data State Data WL Plug-In (NSAPI, ISAPI) Servlet/ JHTML/JSP Enterprise JavaBeans Servlet/ JHTML/JSP Enterprise JavaBeans EJBs, RMI Objects Servlet/JSP Web Clients (with WebLogic Web Server) State Data Enterprise JavaBeans Enterprise JavaBeans EJBs, RMI Objects Programmed Clients (Java, COM) WebLogic Clusters
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.
Recall Unclustered: Web Application Servers Clients Web Server Application Server Database Browsers
Object Clustering Servlet Clustering DNS Round Robin WebLogic Cluster Architecture Database Browsers Web Servers Application Servers
WebLogic Clustering In Action (1) Servlet Clustering Object Clustering DNS Round-robin State Data State Data EJB SB Web Server Servlet/JSP DBMS WL Plug-In (NSAPI, ISAPI) DBMS State Data Web Server WL Plug-In (NSAPI, ISAPI) Database EJB SB Servlet/JSP EJB EB #1 EJB Engine Servlet Engine
WebLogic Clustering In Action (2) Servlet Clustering Object Clustering DNS Round-robin State Data State Data Web Server EJB SB WL Plug-In (NSAPI, ISAPI) Servlet/JSP DBMS DBMS State Data State Data Database EJB SB Web Server Servlet/JSP EJB EB #1 WL Plug-In (NSAPI, ISAPI) EJB Engine Servlet Engine
WebLogic Clustering In Action (3) Object Clustering Servlet Clustering DNS Round-robin State Data State Data Web Server EJB SB WL Plug-In (NSAPI, ISAPI) Servlet/JSP DBMS DBMS State Data State Data State Data Database EJB SB Web Server Servlet/JSP EJB EB #1 EJB EB #1 WL Plug-In (NSAPI, ISAPI) EJB Engine Servlet Engine
WebLogic Clustering In Action (4) Object Clustering Servlet Clustering DNS Round-robin State Data State Data State Data Web Server EJB SB WL Plug-In (NSAPI, ISAPI) Servlet/JSP DBMS EJB EB #1 DBMS State Data State Data Database EJB SB Web Server Servlet/JSP EJB EB #1 WL Plug-In (NSAPI, ISAPI) EJB Engine Servlet Engine
WebLogic Server Clustering Machinery Enterprise JavaBean Enterprise JavaBean Enterprise JavaBean EJB, RMI, JSP, Servlet Replicated JNDI Directory Enterprise JavaBean Enterprise JavaBean Enterprise JavaBean EJB, RMI, JSP, Servlet Load balancing policies: Random Round-robin, Queue-length Replicated Components “Smart Stubs” Routing, Load balancing, & Failover/Recovery
Outline • Application Servers • WebLogic Server and WebLogic Clusters • What’s New in WebLogic Server 6.0 • WebLogic Server 6.0 on OpenVMS™ • Usage Scenarios
What’s New in WebLogic Server 6 • Usability and Manageability Improvements • Increased Standards Support • New Platform Services • Additional Scalability / Reliability Features
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.)
Usability and Manageability Improvements Administrate Entire Enterprise of WebLogic from Single Console: Single Administrative Domain WLS Admin Cluster #1, San Jose Cluster #2, Munich Cluster #3, Tokyo
Increased Standards Support • J2EE Version 1.2 Complete: • EJB 1.1, JMS, JDBC, JTA, JavaMail, Servlet, JSP, JNDI • Some of J2EE 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, WebLogic JMS) • BEA Provides Oracle XA JDBC Driver
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
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 WebLogic • 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
Presented By Lovin Varghese, Technical Manager, Software Technology Group Ltd. Email id : lovin_v@yahoo.com