1 / 19

Understanding Middleware Models: Logical & Physical Approaches

Learn about logical and physical models of middleware, including point-to-point and many-to-many approaches. Explore synchronous and asynchronous middleware, connection-oriented vs. connectionless communication, and various middleware types such as RPC, message-oriented, distributed objects, and more.

wedward
Download Presentation

Understanding Middleware Models: Logical & Physical Approaches

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Middleware IST 421 Spring 2004 Lecture 4

  2. Middleware • Allows one entity (application or database) to communicate with another entity or entities. • Originally designed for intra-enterprise integration • New demand for inter-enterprise integration

  3. Middleware Models • Logical • Depicts how the information moves conceptually • Physical • Depicts the actual method of information movement • Technology employed

  4. Logical Middleware Model • Point-to-Point Middleware • Allow one application to line to another • Uses a procedure call or message • Limited to 1-to-1 application • No middle tier processing logic to change messages as they flow through • Examples: • MOM products – MQSeries • RPCs like DCE • Advantage: simple MOM = message-oriented middleware RPC = remote procedure calls

  5. Logical Middleware Model • Point-to-Point Middleware • Does not represent an effective B2B integration solution

  6. Logical Middleware Model • Many-to-Many Middleware • Most powerful middleware model providing flexibility and ability to solve integration problem • Examples: • Message brokers • Transactional middleware • Application servers • TP monitors • Distributed objects • Disadvantage: Complexity

  7. Logical Middleware Model • Many-to-Many Middleware

  8. Synchronous vs. Asynchronous • Asynchronous middleware • Moves information between one or many applications • Decoupled from the source or target applications • Message is placed in a queue, response coming at later time • Advantage: does not block application processing

  9. Synchronous vs. Asynchronous • Synchronous middleware • Tightly coupled to applications • Applications are dependent on the middleware to process one or more function calls at a remote application • This makes the calling application halt processing in order to wait for the remote application response • Call this “blocking” type middleware • Uses a lot of bandwidth on the network

  10. Connection-Oriented & Connectionless • Direct Communications • accept message from calling program & pass it to remote program • Synchronous processing • Most RPC • Queued Communications • Require queue manager to place message in queue • Remote application retrieves message • MOM product

  11. Connection-Oriented & Connectionless • Publish / Subscribe • Application shares information with pub/sub engine • Engine redistributes to interested applications • Request / Response • Request is made to application • Middleware responds to the request • Message broker or application server

  12. Connection-Oriented & Connectionless • Fire-and-Forget • Middleware user “fires off” message • “forget” about it • Not concerned if it was received • Broadcast specific types of messages to multiple recipients bypassing auditing and response features • Asynchronous approach

  13. Middleware Types • RPC (Remote Procedure Call) • Easiest to understand & use • Invoke a function within one program & have the function execute within another program on a remote machine • Synchronous process • Best know RPC is the Distributed Computing Environment (DCE) from the Open Software Foundation (OSF)

  14. Middleware Types • RPC (Remote Procedure Call) cont. • DCE is not scalable & difficult to administer • RPCs not well-performing • Require tremendous processing power

  15. Middleware Types • Message-Oriented • MOM is queuing software • Units of information move between applications • Decoupled from applications • Asynchronous communication • Messages have structure (schema) & content (data) • MOM supports point-to-point & message queuing • IBM’s MQSeries & Microsoft MSMQ

  16. Middleware Types • Distributed Objects • CORBA & COM 2 types of distributed objects in use • CORBA (Common Object Request Broker Architecture) is a standard • Rules for developers to follow when creating distributed objects • COM is Microsoft distributed object standard

  17. Middleware Types • Database-Oriented • Facilitates communications with a database • Works with 2 database types: • CLIs – ODBC or JDBC • Native database middleware

  18. Middleware Types • Transaction-Oriented • TP monitors & application servers • Not as effective at simple information sharing • Tend to be tightly coupled

  19. Middleware Types • Message Brokers • “nirvana” of B2B integration • Move information between multiple applications • Account for differences in semantics and platforms • Use common rules and routing engines • Transform schema & content as it flows between applications & databases

More Related