Architectural Overview: Express and Base .fr

Security. Data Replication. JMX etc. Web Services Engine. Servlets. WebSphere Architecture Administration. Admin application. Admin. Service. Admin. MBeans.
437KB taille 4 téléchargements 270 vues
Architectural Overview: Express and Base

IBM Confidential

Unit Objectives •This unit discusses: –Main themes –Architectural overview of WebSphere Application Server V6 at run time –Architectural overview of WebSphere Application Server V6 at administration time –Overview of WebSphere Application Server V6 profiles

Main Themes •Platform enablement –Developing the e-business operating system for enterprise integration –Foundation for other middleware products •Ease of use –Reduced complexity, and increased integration of roles •Simplify development and deployment of applications with new WebSphere Rapid Deployment

•Enterprise Class Deployment –Building the Next Generation application server with the qualities of service required by enterprise class deployment •Standards-based architecture and programming model –J2EE 1.4, Web services, Service Data Objects (SDO), and so forth

Version 6 Packaging

WebSphere Application Server Basics •WebSphere Application Server –Is a platform on which Java-based business applications run –Is an implementation of the Java 2 Enterprise Edition (J2EE) specification –Provides services (database connectivity, threading, workload management, and so forth) that can be used by the business applications

WebSphere Architecture Runtime Browser

HTTP Server HTTP(S)

Embedded HTTP Server

HTTP(S)

HTTP Server Plug-in

Java Client

Application Server EJB Container

Web Container Servlets

JSPs

RMI/IIOP

EJBs

JDBC

Web Services Engine

Messaging Engine Application Databases Application Data

Plug-in Configuration File

SOAP/HTTP(S)

RMI/IIOP

Dynamic Cache

Name Server

Security

Data Replication

JMX

etc.

JMS Client

Web Services Client SOAP/JMS

0 1 2 3 4 5 6 7 8 9 10ofof10 10

JDBC Providers •Provide the JDBC driver implementation for database access –Type 2 JDBC Drivers (Thick) •Require the database client software on the client node to connect to the database server

–Type 3 JDBC Drivers (Net protocol) •Require server side code to map net protocol to native database

–Type 4 JDBC Drivers (Native protocol) •Connect directly to the database using its native protocol

•XA Drivers support transaction recovery

Client Node

JNDI

Connection Connection Pool Pool

JDBC Driver

DataSource

JDBC

Database Client

Database Server

Data Sources •Data sources can improve performance and portability for database access –Standard and XA data sources •Connection pooling is provided by two parts: –J2C connection manager –Relational resource adapter

Application

Relational Resource Adapter Datasource Connection Factory

J2C Connection Manager

Connection Connection Pool Pool

Database

Enhanced EAR • Enterprise archive containing J2EE artifacts plus resource information needed to install on the WebSphere Application Server V6 – JDBC resources (datasources) Enhanced EAR Resources – Class loader Enhanced J2EE App. – JAAS authentication aliases EAR EAR Properties – Shared libraries – Virtual host information • Benefits: Improved productivity – Application resources/properties come with the application – Application install process creates the necessary resources within the server or cluster – Moving application from one server to another also moves the resources • Support integrated with the IBM Rational Tooling (IRAD) and AST – Found on Deployment page of application deployment descriptor

WebSphere Architecture Administration Application Server

SOAP/HTTP

HTTP(S)

Embedded HTTP Server

Web-based administrative console

Web Container Servlets

JSPs

Admin Service

EJBs Admin MBeans

Admin application

Web Services Engine

Messaging Engine XML Configuration Files

Dynamic Cache

Name Server

Security

Data Replication

JMX

etc.

C:\> wsadmin RMI/IIOP

wsadmin command-line client

EJB Container

2 of 4 3 4 1

WebSphere Profiles Overview •Profiles are a set of files that represent a WebSphere Application Server configuration •WebSphere Application Server files are split into two categories: –Product files •Set of shared read-only static files or product binaries shared by any instances of the WebSphere Application Server product

–Configuration Files (profiles) •Set of user-customizable data files •Files include: WebSphere configuration, installed applications, resource adapters, properties, log files, and so forth WebSphere Product Files

Profiles -AppSrv01 -AppSrv02

. . .

WebSphere Profiles Benefits •Benefits of profiles: – Each profile uses the same product files – Simpler than multiple WebSphere installations • Less disk space • Simplifies application of product updates AppSrv01

AppSrv02

specified by

specified by

Managing Profiles •Profiles should be managed through one of the tools provided –Profile Creation Wizard •Provides a GUI interface for creation of profiles

–wasprofile script •Provides a command line tool to manage profiles

Unit Summary Having completed this unit, you should be able to: •Introduce high-level architecture of WebSphere Application Server V6 •Introduce Runtime and Administration Architecture of WebSphere Application Server V6 •Describe how WebSphere profiles allow several server instances to share the same set of product binaries