90 likes | 183 Views
An Introduction to Middleware. Chapter 7 Sungchul Hong. What Middleware does?. It offers quite simply, a mechanism that allows one entity to communicate with another entity or entities. It allows applications to communicate with one another.
E N D
An Introduction to Middleware Chapter 7 Sungchul Hong
What Middleware does? • It offers quite simply, a mechanism that allows one entity to communicate with another entity or entities. • It allows applications to communicate with one another. • It can hide the complexities of the source and target system. • It frees developers from focusing on low-level APIS and network protocols.
Importance of Middleware • Sharing of information • Moving information between systems within a single enterprise. • Moving information between multiple enterprises.
Middleware Models • Logical Model • One-to-one (point-to-point), many-to-many configuration • Synchronous a synchronous
Point-to-Point Middleware • MOM • MQSeries • RPC • DCE • Advantage: Simple • Disadvantage: need centralized server for B2B application integration.
Many-to-Many Middleware • Links many applications to many other applications. • the best option for B2B application integration. • Examples: Message broker, TP monitors • Disadvantage: complexity
Synchronous vs. Asynchronous • Asynchronous • The middleware software is able to decouple itself from the source or target applications • Advantage: the middleware does not block the application for processing. • Synchronous • It is tightly coupled to applications. • Disadvantage: block the application for processing.
Types of Middleware • RPC • Synchronous, Distributed Computing Environment (DCE) • MOM • Asynchronous, • Point-to-point: MQ • Distributed Objects • CORBA, COM
Types of Middleware 2 • Database-Oriented • CLI (a API) • ODBC (Microsoft), JDBC • Native database middleware • Transaction-Oriented • TP monitors • Message Brokers • Message brokers can join applications by using common rules and routing engines.