| By Tieu Luu | Article Rating: |
|
| April 1, 2008 10:30 PM EDT | Reads: |
294 |
There are a variety message exchange patterns that can be used to implement an SOA. Know them and when to apply them. It can mean the difference between an SOA that scales and performs vs. one that doesn't. The traditional synchronous request/response may not always be the most appropriate in all scenarios. Here are some examples of other types of MEPs:- Asynchronous request/response using a callback--the consumer sends a request and provides a reference to a callback service as part of the request; instead of responding synchronously to the request, the service responds asynchronously by sending the response to the callback service
- Publish/subscribe--consumers register their interest in receiving some data that the service provides by subscribing to the service; whenever the service gets or creates that data, it publishes it to all subscribed consumers. This is somewhat of an extension of the asynch req/resp with callback MEP. The difference is that the pub/sub MEP is used in more of a one-to-many type of scenario, i.e. the service has some data that may be applicable/consumed by multiple consumers; whereas the asynch req/resp with callback is used in more of a one-to-one scenario, i.e. the consumer is requesting some data or functionality that is specific to it (not applicable to other consumers) and doesn't want/need to wait for the response to return immediately
- Request and poll--the consumer sends a request to the service but doesn't want/need to wait for the response so the service returns some type of identifier that the consumer can use later to poll the service for the response. This MEP is useful for when you're trying to achieve the behavior of the asynch req/resp with callback but can't provide a callback service perhaps because firewall settings don't allow inbound messages.
- One-way push, aka "fire and forget"--the consumer sends the service a request and doesn't need a response so it just fires it off and forgets about it; perhaps it would be more accurate to call it a message instead of a request since the consumer's not expecting a response. Also it doesn't have to be the consumer firing off the message, it can be the service doing that as well. This is in fact the publish half of the pub/sub MEP for scenarios that don't have any type of guaranteed delivery requirements.
Read the original blog entry...
Published April 1, 2008 Reads 294
Copyright © 2008 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Tieu Luu
Tieu Luu works at Booz Allen Hamilton where he helps the U.S. government create and implement strategies and architectures that apply innovative technologies and approaches in IT. You can read more of Tieu’s writing at his blog at http://tieuluu.com/blog.
- Six Enterprise Megatrends to Watch in 2010
- Microsoft’s First Step Toward Cloud Computing
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Microsoft WebsiteSpark: Get New Business Leads to Grow Your Business
- Current Trends in the Data Management Market
- SOA and the IT Pressure Cooker
- Down-to-Earth Contracts that Keep the Cloud Aloft
- High-Performance Data Services with Smart Caching
- Ex-Intel Exec Pleads Guilty in Galleon Scandal
- The Apache Software Foundation Announces Apache Pivot as Top-Level Project
- IBM Lotus Notes Apps Now on the iPhone
- JSON Schema Validation for RESTful Web Services
- Six Enterprise Megatrends to Watch in 2010
- The Importance of Abstraction in Cloud Computing
- Microsoft’s First Step Toward Cloud Computing
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Microsoft WebsiteSpark: Get New Business Leads to Grow Your Business
- Sun Microsystems Releases NetBeans IDE 6.8
- Current Trends in the Data Management Market
- TIBCO Goes to IBM Before the End of March 2010 -Prediction
- SOA and the IT Pressure Cooker
- Down-to-Earth Contracts that Keep the Cloud Aloft
- High-Performance Data Services with Smart Caching
- A Key Phase in SOA Programs Business Service Realization
- AJAX, Web 2.0 & SOA Power Panel Live From Times Square
- AJAX Sponsor Webcasts Are Now Available at AJAXWorld Website
- AJAXWorld University Announces AJAX Developer Bootcamp
- i-Technology Predictions for 2007: Where's It All Headed?
- The Next Programming Models, RIAs and Composite Applications
- SYS-CON Media Readers Cast More Than 4,000 Votes In First Week Of Voting
- SYS-CON Media Opens Its Eighth Annual "Readers' Choice Awards" Polls
- SYS-CON Media Readers' Choice Awards Polls Will Close on December 31, 2005
- i-Technology Viewpoint: Is Web 2.0 the Global SOA?
- SOA Power Panel on SYS-CON.TV!
- ESB Myth Busters: 10 Enterprise Service Bus Myths Debunked
- i-Technology 2008 Predictions: Where's RIAs, AJAX, SOA and Virtualization Headed in 2008?


















Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.