| By Tieu Luu | Article Rating: |
|
| April 1, 2008 10:30 PM EDT | Reads: |
252 |
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 252
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.
- The Importance of Abstraction in Cloud Computing
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Microsoft’s First Step Toward Cloud Computing
- Six Enterprise Megatrends to Watch in 2010
- Current Trends in the Data Management Market
- Sun Microsystems Releases NetBeans IDE 6.8
- TIBCO Goes to IBM Before the End of March 2010 -Prediction
- Cloud Computing, Virtualization and SOA Will Transform the Government
- Microsoft WebsiteSpark: Get New Business Leads to Grow Your Business
- High-Performance Data Services with Smart Caching
- SOA and the IT Pressure Cooker
- ENISA Cloud Computing Risk Assessment
- The Importance of Abstraction in Cloud Computing
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Cloud Computing Can Revitalize Your Career as Software Developer
- Microsoft’s First Step Toward Cloud Computing
- Cloud Computing Debate: Booz Allen Hamilton Comments on Recent McKinsey & Co. Report
- Six Enterprise Megatrends to Watch in 2010
- IBM Could "Reinvent" Java: Mills
- Why SOA Needs Cloud Computing - Part 1
- Current Trends in the Data Management Market
- Sun Microsystems Releases NetBeans IDE 6.8
- TIBCO Goes to IBM Before the End of March 2010 -Prediction
- Playing the Cloud Computing Wargame
- 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.