Lecture 14 - SDaA
Lecture 14 - SDaA
Architecture
DistributedApplications
Distributed Applications
Distributed Applications
Middleware dimensions:
Request/Reply vs. Asynchronous Messaging
Language-specific vs. Language-independent
Proprietary vs. Standards-based
Small-scale vs. Large-scale
Tightly-coupled vs. Loosely-coupled
components
Why Middleware
Why Middleware
Remote Procedure Calls (RPC)
RPC
Distributed Objects: CORBA
Common Object Request Broker Architecture
Open standard by the OMG
Message Servers
subscribe
publish
Publisher notify Subscriber
Event Service
(event-broker subscribe
Publisher publish notify Subscriber
network)
subscribe
Publisher publish notify Subscriber
Topic-Based and Content-
Based Pub/Sub
Event Service matches events against subscriptions
What do subscriptions look like?
Topic-Based Publish/Subscribe
– Publishers publish events belonging to a topic or subject
– Subscribers subscribe to a topic
subscribe(PrintJobFinishedTopic, …)
Enterprise Enterprise
Bean Bean
EJB Container
Clients
EJB Server
Java Application Servers
EJB Server
The EJB Server provides system services and manages resources
Process and thread management
EJB Container
Hosts the Enterprise JavaBeans
Provides services to Enterprise JavaBeans
Naming
Transaction Management
Security
Enterprise JavaBeans
A specialized Java class where the real business logic lives
Distributed over a network
Transactional
Secure
Server vendors provide tools that automatically generate
distribution, transaction and security behavior
Java Application Servers
Enterprise Clients
Client access is controlled by the container in which the enterprise
Bean is deployed
Clients locates an Enterprise JavaBean through Java Naming and
EJB Application
Clients Web Server
Server
CICS Programs
Servlet Shopping
Databases
Cart
Inventory
Application
SAP Modules
EJB Server
Message Broker
Each legacy system has a queue interface component that can read
messages from the queue, and using the data in the message, create
a call to the customer data update API that the legacy system
supports.
Message Broker
If the common In-format message format changes, then the web
component and every legacy system component that executes the
transformation must be modified and tested.