Professional Documents
Culture Documents
Application EAR
Client Container EJB Container
EJB
Java
Modules
Application Admin
Service
J2C Container
Resource Application
Admin
wsadmin Adapter Database
Console Modules
Node
Node Agent Name Service (JNDI)
Admin
Service Configuration
Master (XML Files)
Configuration
(XML Files)
Java Connection Architecture (JCA)
Common
J2EE Client Resource Adapter EIS
Component for the EIS IMS
Interface
(IMS)
API
J2EE
Component Resource Adapter
for the EIS SAP
EIS
Included with WebSphere (SAP)
Client Node
JNDI Connection
Connection
Pool
Pool
JDBC Database
Database
Client
JDBC Driver Server
DataSource
Data Sources
•Data Sources can improve performance and portability for
database access
–Standard and XA data sources
–V4.0 data sources supported for J2EE 1.2 and EJB 1.1
–V5.0 data sources for EJB 2.0 and Servlet 2.3 applications
•V5.0 Connection pooling is provided by two parts:
–J2C connection manager
–Relational resource adapter
Relational Resource
Adapter
Application
Datasource
Connection
Connection
Pool
Pool
Connection Database
Factory
J2C Connection
Manager
Persistence Manager
•Support EJB 2.0 Container Managed Persistence (CMP)
requirements
–New EJB 2.0 CMP persistence model
–Abstract persistence schema
–Relationships
–Dependent values
–EJB QL Query
•Support for extended persistence options
–Inheritance
–Data caching
–Advanced locking and pre-fetch mechanisms
•Provide architectural foundation for supporting different back-
ends
–JDBC
–SQLJ
–Non-relational adapters
Persistence Manager – Architecture
•Uses JCA under the covers
–Extends the range of potential data sources beyond JDBC
–Support for different back-end mechanisms
•Relies on "concrete bean" to provide implementation of data
access requests
–Generated by deployment tools
Abstract
Concrete BMP JDBC
CMP
Bean Bean applications
Bean Container
J2C CCI
JCA Persistence
Manager
Resource
Adapter
JDBC Adapter SQLJ Adapter
Enterprise Only
EIS (CICS, IMS, ...)
Possible future implementations
RDB
Persistence Manager - Caching
•Improve the scalability and performance of CMP beans
•Caching Mechanisms
–Data cache
•Holds the actual data entries
•Supports findByPrimaryKey-methods and EJB hydration
–Association cache
•Describes the associations (i.e., the composition structure) between the
data entries
•Supports foreign key based finder
Container
methods that are generated for
relationship traversal
•Caching mechanisms at the Core
basis of "value add" features Persistence
Manager
Cache Dynamic
Query
–Access intent
•WebSphere Application Server
–Dynamic Query, Adapter
Dynamic Access Intent...
•WebSphere Enterprise
Datastore Connection
Manager
Name Service
•Provides a JNDI name space
•Registers all EJB and J2EE resources (example: JDBC
Providers, JMS, J2C, URL and JavaMail) that are hosted by
the application server
•There is one name server per application server
Node 3
Deployment Manager
lookup
JNDI Client 9809 Name space
lookup
lookup
Node 1 Node 2
Node Agent Node Agent
Deployment Manager
MBean JMX
Server Connector Configuration
Distribution Service
MBeans
MBean MBean MBeans
er Proxy Proxy
oth ion
To licat
app vers
s er Application Server
Cluster of Load
Clients Balanced Servers
Load
Balancer
Web Services Engine
•Web Services Engine is actually the implementation of many APIs for
additional services.
•“It” does not stand by itself as a separate viable component
•Web Services are provided as a set of APIs in cooperation with J2EE
applications
•The following specifications are implemented:
– SOAP (Simple Object Access Protocol)
– WSDL (Web Services Description Language)
– UDDI (Universal Description, Discovery and Integration)
– WSIF (Web Services Invocation Framework)
UDDI Registry
Service bindingTemplate
Type
Service Interface
Web Service
Definition WSDL
Application
Document
UDDI Registry
•The registry is essential for Web services brokering
•Contains a “list” of services that are available
•The registry enables an enterprise to run its own “private”
Web services broker or provide Web services to the world
outside the enterprise
•The WebSphere 5.0 UDDI Registry is installed as a web
application, package in a .EAR file
UDDI Registry
Business Registrations
Web Services Gateway
•Middleware that helps bridge the gap between Internet and Intranet environments
during Web service invocations