Websphere architecture 1
-
Upload
grodzinski -
Category
Documents
-
view
6.043 -
download
1
Transcript of Websphere architecture 1
© Copyright IBM Corporation 2006Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 4.0.2
Architectural overview:Stand-alone
IBM Confidential
© Copyright IBM Corporation 2006
Unit objectives
After completing this unit, you should be able to:
●Describe the architectural runtime view of WebSphere Application Server V6.1●Describe the administrative view of WebSphere Application Server V6.1●Explain WebSphere Application Server V6.1 profiles
© Copyright IBM Corporation 2006
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
© Copyright IBM Corporation 2006
Version 6 packaging
© Copyright IBM Corporation 2006
WebSphere Application Server basics
●WebSphere Application Server – A platform on which Java-based business applications run– 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
Hardware, Operating System, Database, Network, Storage
Application Server
Application
© Copyright IBM Corporation 2006
0 of 101 of 10
WebSphere architecture runtime
Browser
© Copyright IBM Corporation 2006
0 of 101 of 102 of 10
HTTP Server
HTTP(S)
WebSphere architecture runtime
Browser
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Browser
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Browser
EJB Container
EJBsRMI/IIOP
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Browser
EJB Container
EJBsRMI/IIOP
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 106 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Browser
EJB Container
EJBsRMI/IIOP
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 106 of 107 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Browser
EJB Container
EJBsRMI/IIOP
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 106 of 107 of 108 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Browser
EJB Container
EJBsRMI/IIOP
Java Client
RMI/IIOP
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 106 of 107 of 108 of 109 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Browser
EJB Container
EJBsRMI/IIOP
Java Client
RMI/IIOP
Web ServicesClient
SOAP/HTTP(S)
SOAP/JMS
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
0 of 101 of 102 of 103 of 104 of 105 of 106 of 107 of 108 of 109 of 1010 of 10
HTTP Server
HTTP(S)
Plug-in Configuration File
Application Server
Em
bedded HTTP
Server
Web Container
JSPsServlets
HTTP(S)HTTP Server Plug-in
WebSphere architecture runtime
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Browser
JMSClient
EJB Container
EJBsRMI/IIOP
Java Client
RMI/IIOP
Web ServicesClient
SOAP/HTTP(S)
SOAP/JMS
ApplicationDatabasesApplicationData
JDBC
© Copyright IBM Corporation 2006
DataSource
Database Client Database
Server
Client Node
JNDI
JDBC Driver
JDBC
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
Connection Pool
Connection Pool
© Copyright IBM Corporation 2006
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
App
licat
ion
Relational Resource Adapter
Datasource
J2C Connection Manager
DatabaseConnection Factory
Connection Pool
Connection Pool
© Copyright IBM Corporation 2006
Enhanced EAR● Enterprise archive containing J2EE artifacts plus resource information
needed to install on the WebSphere Application Server V6 – JDBC resources (datasources)– Class loader– JAAS authentication aliases– 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
● Warning: Can possibly cause problems if unintended application scoped resources are used in production.– Enhancements can be removed or ignored during application installation
Enhanced EAREnhanced EAR
J2EE App.EAR
Properties
ResourcesEnhancedEnhanced
EAREAR
© Copyright IBM Corporation 2006
1 of 4
Application Server
Em
bedded HTTP
Server
Web Container
JSPs
EJB Container
EJBs
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Servlets
WebSphere architecture administration
© Copyright IBM Corporation 2006
2 of 4
WebSphere architecture administration
Application Server
Em
bedded HTTP
Server
Web Container
JSPs
EJB Container
EJBs
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Servlets
Admin application
AdminService
Admin MBeans
XML Configuration
Files
© Copyright IBM Corporation 2006
2 of 43 of 4
WebSphere architecture administration
Application Server
Em
bedded HTTP
Server
Web Container
JSPs
EJB Container
EJBs
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Servlets
Admin application
AdminService
Admin MBeans
XML Configuration
Files
Web-basedadministrative console
HTTP orHTTPS
© Copyright IBM Corporation 2006
2 of 43 of 44 of 4
WebSphere architecture administration
Application Server
Em
bedded HTTP
Server
Web Container
JSPs
EJB Container
EJBs
Messaging Engine
Dynamic Cache Name Server Security
Data Replication JMX etc.
Web Services Engine
Servlets
Admin application
AdminService
Admin MBeans
XML Configuration
Files
Web-basedadministrative console
HTTPor HTTPS
wsadmincommand-line client
SOAP/HTTP
RMI/IIOP
C:\> wsadmin
© Copyright IBM Corporation 2006
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
WebSphereProduct Files
Profiles-AppSrv01-AppSrv02
© Copyright IBM Corporation 2006
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
AppSrv01specified by
specified by
AppSrv02
© Copyright IBM Corporation 2006
Managing profiles
●Profiles should be managed through one of the tools provided
– Profile Management tool (PMT) Wizard• Eclipse-based GUI tool for creating profiles• Gathers user input and invokes the “manageprofiles” command line tool
to create the profiles• Replaces v6.0 Profile Creation Tool
– manageprofiles script• Command line interface for profile management functions• V6.0 wasprofile command line tool has been enhanced and renamed to
manageprofiles script in V6.1
© Copyright IBM Corporation 2006
Checkpoint questions
1. Which of the following provides an environment for running servlets?
A. Client moduleB. Web moduleC. EJB module
2. Which type of JDBC driver is considered a “thick” driver?A. Type 2B. Type 3C. Type 4
3. Which of the following are components contained within the application server’s JVM?
A. HTTP Server plug-inB. Embedded HTTP ServerC. DB2 database
© Copyright IBM Corporation 2006
Checkpoint solutions
1. Which of the following provides an environment for running servlets?
B. Web module
2. Which type of JDBC driver is considered a “thick” driver?A. Type 2
3. Which of the following are components contained within the application server’s JVM?
B. Embedded HTTP Server
© Copyright IBM Corporation 2006
Unit summary
Having completed this unit, you should be able to:
●Describe the architectural runtime view of WebSphere Application Server V6.1●Describe the administrative view of WebSphere Application Server V6.1●Explain WebSphere Application Server V6.1 profiles