| By Dave Chappell | Article Rating: |
|
| March 27, 2003 12:00 AM EST | Reads: |
21,197 |
Message-centric vs RPC-style Web services is a long-standing debate and bone of contention regarding the proper use of Web services technologies. Early renditions of SOAP and XML-RPC were all about providing RPC-style interactions...in fact, that's all that was supported, so there really wasn't much choice in the matter.
RPC-style interfaces have their advantages: immediate gratification of request/response, and a programming model whereby remote procedures are exposed in a way that mimics the underlying object architecture of the applications concerned, allowing a developer to make "normal"-looking method calls in the native language. Are these benefits really worth it?
Developers, system architects, standards bodies, and vendors alike have all come around to the idea that message-style interactions between Web services are an attractive alternative to RPC-style Web services. It's a real pleasure to see that Web services specifications and specific implementations have matured enough to make message-centric Web services a reality. Let's examine some of the drivers that have brought on this trend:
In a business environment where Web services are being deployed as a means for linking together businesses in a value chain, message-style interactions model the way that businesses really interact with one another. These interactions have three main characteristics: loosely coupled interfaces, loosely coupled interactions, and long duration conversations. Let's use a purchase order as an example, and look at it for what it is - a document presented by a buyer to a supplier that signifies the buyer's intent to acquire, and eventually pay for, an item or list of items from the supplier.
Loosely coupled interfaces: A PO document contains all of the information necessary to fulfill the order and allow the payment process to begin - the billing information, shipping address, line item information, quantity, price, etc. A buyer needs only to send that information to a supplier once as one XML document, encapsulated inside of a message. The processing of the PO involves many discrete operations - credit check, contacting other suppliers, and so on. Loosely coupled interfaces means that each application or service in the process acts upon a self-describing XML message, extracting or modifying just the parts of the message it needs.
In a tightly coupled RPC environment, each application has to know the intimate details of how every other application wants to be communicated with - the number of methods it exposes, and the details of the parameters that each method accepts. Multiply the number of applications and services that make up an extended enterprise by the number of interfaces that each one might want to expose, and then square that. That's roughly the number of interfaces that you will have to create and maintain over time.
Loosely coupled interactions and availability: An application sends a message to another application via a message-style Web service invocation. This is part of a larger multistep process. Using message-style interactions, each step in the process is asynchronous and autonomous. If the nth receiver in the chain is not available, the initial sender is not concerned. If reliable messaging is being used in the form of JMS or WS-Reliability, then message persistence, retries, and redelivery can happen at the transport level without the applications or services even being aware that this is taking place.
In contrast, a tightly coupled RPC environment requires that all parties be available in order for the entire operation to be successful. Now take that scenario and magnify it across hundreds or thousands of interconnected endpoints and you'll see how quickly it can become an unwieldy proposition.
Long-duration conversations: The purchase order very likely was a follow-on message from a request for a price quote. The fulfillment of that order may take days, weeks, or months before all the items in the order are shipped and billing can take place. Having complete, self-describing documents as the basis for state persistence makes the separation of time irrelevant.
In contrast, a fine-grained RPC- style Web service invocation will probably not have all of the context required to span time, or even a single application session.
Data transformation and routing: Every application has its own way of internally representing data, and not all business partners are going to agree on the same dialect of XML. The availability of a self-contained XML document at all times lends itself very well to utilizing XSLT for translation to target data formats, and XPATH for routing of messages based on their content
When all is said and done, the benefits of message-centric Web services far outweigh the perceived advantages of RPC. So get on board, and get messaging!
Published March 27, 2003 Reads 21,197
Copyright © 2003 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Dave Chappell
David Chappell is vice president and chief technologist for SOA at Oracle Corporation, and is driving the vision for Oracle’s SOA on App Grid initiative.
Aug. 25, 2018 10:00 AM EDT Reads: 2,486 |
By Liz McMillan Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...Aug. 21, 2018 03:00 PM EDT Reads: 4,336 |
By Pat Romanski Jul. 28, 2018 07:45 PM EDT |
By Elizabeth White Using new techniques of information modeling, indexing, and processing, new cloud-based systems can support cloud-based workloads previously not possible for high-throughput insurance, banking, and case-based applications. In his session at 18th Cloud Expo, John Newton, CTO, Founder and Chairman of Alfresco, described how to scale cloud-based content management repositories to store, manage, and retrieve billions of documents and related information with fast and linear scalability.
He addresse...Jul. 4, 2018 09:00 PM EDT Reads: 9,621 |
By Liz McMillan Jul. 3, 2018 06:15 PM EDT Reads: 6,611 |
By Elizabeth White SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY.
DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.Jun. 30, 2018 07:00 PM EDT Reads: 10,447 |
By Pat Romanski Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible.
In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true ...Jun. 29, 2018 10:15 PM EDT Reads: 7,279 |
By Elizabeth White In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...Jun. 29, 2018 06:00 PM EDT Reads: 20,160 |
By Liz McMillan CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.Jun. 29, 2018 01:15 PM EDT Reads: 3,780 |
By Liz McMillan Jun. 29, 2018 12:30 PM EDT Reads: 2,641 |


Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...
Using new techniques of information modeling, indexing, and processing, new cloud-based systems can support cloud-based workloads previously not possible for high-throughput insurance, banking, and case-based applications. In his session at 18th Cloud Expo, John Newton, CTO, Founder and Chairman of Alfresco, described how to scale cloud-based content management repositories to store, manage, and retrieve billions of documents and related information with fast and linear scalability.
He addresse...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY.
DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible.
In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true ...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.

According to Forrester Research, every business will become either a digital predator or digital prey by 2020. To avoid demise, organization...
With the mainstreaming of IoT, connected devices, and sensors, data is being generated at a phenomenal rate, particularly at the edge of the network. IDC's FutureScape for IoT report found that by 2019, 40% of IoT data will be stored, processed, analyzed and acted upon at the edge of the network where it is created. Why at the edge? Turns out that sensor data, in most cases, is perishable. Its va...
Wasabi is the hot cloud storage company delivering low-cost, fast, and reliable cloud storage. Wasabi is 80% cheaper and 6x faster than Amazon S3, with 100% data immutability protection and no data egress fees. Created by Carbonite co-founders and cloud storage pioneers David Friend and Jeff Flowers, Wasabi is on a mission to commoditize the storage industry. Wasabi is a privately held company bas...
Cloud Storage 2.0 has brought many innovations, including the availability of cloud storage services that are less expensive and much faster than previous generations of cloud storage. Cloud Storage 2.0 has also delivered new and faster methods for migrating your premises storage environment to the cloud and the concept of multi-cloud. This session will provide technical details on Cloud Storage 2...
Addteq is a leader in providing business solutions to Enterprise clients. Addteq has been in the business for more than 10 years. Through the use of DevOps automation, Addteq strives on creating innovative solutions to solve business processes. Clients depend on Addteq to modernize the software delivery process by providing Atlassian solutions, create custom add-ons, conduct training, offer hostin...
Contino is a global technical consultancy that helps highly-regulated enterprises transform faster, modernizing their way of working through DevOps and cloud computing. They focus on building capability and assisting our clients to in-source strategic technology capability so they get to market quickly and build their own innovation engine.









