middleware
play

Middleware Petr T uma Middleware by Petr T uma This material is - PDF document

Middleware Petr T uma Middleware by Petr T uma This material is a work in progress that is provided on a fair use condition to support the Charles University Middleware lecture. It should not be used for any other purpose than to support


  1. Middleware Petr T˚ uma

  2. Middleware by Petr T˚ uma This material is a work in progress that is provided on a fair use condition to support the Charles University Middleware lecture. It should not be used for any other purpose than to support the lecture. It should not be copied to prevent existence of outdated copies. It comes without warranty of any kind. This is version 179M generated on 2016-03-09 14:06:25. For the latest version, check http://d3s.mff.cuni.cz/~ceres.

  3. Table of Contents 1. Introduction .......................................................................................................................1 Middleware Definition (Klingenstein)......................................................................1 Middleware Definition (Bray) ....................................................................................1 Middleware Definition (Coulson)..............................................................................1 Tiered Architectures.....................................................................................................1 Tiered Architecture Example ............................................................................1 Service-Oriented Architectures ..................................................................................1 Service-Oriented Architecture Example..........................................................2 2. Communication.................................................................................................................3 Reliability In Unicast ...................................................................................................3 Packet Damage....................................................................................................3 Timing Guarantees.......................................................................................................3 Example: Real Time Protocol ............................................................................3 Ordering Guarantees ...................................................................................................4 Causal Relation ...................................................................................................5 Lamport Clock ....................................................................................................5 Vector Clock.........................................................................................................5 Remote Procedure Call................................................................................................5 Client Side Stub Sketch......................................................................................5 Server Side Stub Sketch .....................................................................................6 3. Systems ...............................................................................................................................9 GM..................................................................................................................................9 gm_send_with_callback Function....................................................................9 gm_receive And gm_unknown Functions......................................................9 gm_provide_receive_buffer_with_tag Function............................................9 IBM MQ .........................................................................................................................9 Queues And Messages.....................................................................................10 Message Encoding............................................................................................11 Web Services................................................................................................................12 SOAP ..................................................................................................................12 WSDL .................................................................................................................12 Service Composition ........................................................................................13 DCE ..............................................................................................................................15 Remote Procedure Call ....................................................................................15 EJB ................................................................................................................................15 Stateful Session Beans ......................................................................................15 Stateless Session Beans.....................................................................................17 Message Driven Beans .....................................................................................17 Entities................................................................................................................17 Transactions.......................................................................................................20 JMS ...............................................................................................................................20 Connections and Sessions and Contexts.......................................................20 Destinations.......................................................................................................21 Messages ............................................................................................................21 Producers and Consumers ..............................................................................22 MPI ...............................................................................................................................24 Peer To Peer Communication .........................................................................24 Group Communication....................................................................................25 Remote Memory Access ..................................................................................25 .NET Remoting ...........................................................................................................26 Interface..............................................................................................................26 Implementation.................................................................................................26 Java RMI ......................................................................................................................27 Interface..............................................................................................................27 Implementation.................................................................................................27 Lifecycle .............................................................................................................28 Naming...............................................................................................................28 iii

Recommend


More recommend