YOUR FEEDBACK
Three RIA Platforms Compared: Adobe Flex, Google Web Toolkit, and OpenLaszlo
NN wrote: Yeah you are right GWT is poor man's Flex. After using GWT on two...
SOA World Conference
Virtualization Conference
$200 Savings Expire May 16, 2008... – Register Today!


2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SOA World Editorial: Defining Terms
It seems like not a day goes by lately in which some new story of malfeasance in office doesn't come out - whether it's lying under oath, using the services of a call girl, or spying on other officials in the government in order to further a personal agenda. Clearly, our elected officials don't have
SYS-CON.TV
TODAY'S TOP SOA & WEBSERVICES LINKS


Atoms vs Bits and theDigital Middle Mile

Digg This!

I believe that Web services may make the long-standing battle of open source software (OSS) versus closed source software (CSS) almost irrelevant. What!, you cry in incredulity. He can't mean that! How can he discount the efforts and thinking of some of the world's most brilliant programmers? However, before you blast out a scathing e-mail flaming me to a crisp, listen to my reasons, then decide if you don't agree with me.

The Middle-Mile Solution
Recently I've come to think of Web services as a "Middle-Mile" solution. To understand why, it's helpful to look at a simple example - the steaming cup of tea on my desk. The essential players in getting my tea in the morning are the grower/manufacturer, the distributor, the local store, and, of course, me - the end user. The transportation of the tea leaves or "raw goods" from the manufacturer to the distributor is the figurative "First Mile." The distance from the distributor to the local store is the "Middle Mile," and my walk to the store to get my tea leaves is the "Last Mile." The trains and trucks that form this middle mile by transporting tea leaves to my local store rely on customers like me to consume the tea leaves when we come into the store to buy the tea. Likewise, I rely on them to transport tea leaves to my local store so they're ready and waiting when I want tea.

Web services provide the solution equivalent to the trucks and trains in my tea example - they move the goods from the manufacturer/distributor to the local store/end user. However, rather than a physical "hard good" such as tea leaves, Web services instead transport an electronic "soft good." In this way, Web services are the middle-mile solution for soft goods - dealing with bits, not atoms.

These electronic soft goods are usually small pieces of a business's core logic, exposed so they can be called by a business partner, customer, employee, or another application. Almost every business has discrete shareable business functions, ones that are often core to a particular business interaction with its partners. In addition, almost every business wants to use shareable business functions from their partners, to exchange information surrounding commerce. What's needed is agreement on the actual mechanism and standards - enter Web services.

Standards for the Infrastructure
Web services define standards for the infrastructure to remotely call discrete shareable business functions. This isn't new. We've had the ability to invoke remote objects since our applications got bigger and we started to spread them around - moving to three-tier and then to n-tier architectures. However, in the case of Web services, it's done with protocols and data representations that are ubiquitous and Internet-friendly. The wire protocol is usually HTTP over TCP/IP but others are allowed (such as SMTP); the network data representation is XML; the interface definition language is WSDL (an application of XML); and the registry for Web services is UDDI. All of these standards are blessed and espoused by a collection of vendors the likes of which we've never seen before, including IBM, Microsoft, SAP, Compaq, Ariba, and many more.

HTTP, WSDL xSchema, and UDDI are the current offerings but other protocols, data encodings, interface definitions, and registries could become popular and they should be easily pluggable. The developer requirements to call a Web service are made trivial by the use of a SOAP ORB. This is analogous in function to a CORBA ORB in that it allows the developer to call methods on remote objects as if they were local objects without regard for the underlying mechanism. This includes support for strongly typed objects into and out of the method calls, which implies support for standard and customizable data marshallers/de-marshallers.

Implementations of almost all of the basic technological requirements are already available as OSS projects, Apache SOAP for example. Additional portions of the "Web Services Stack" are currently under development in ongoing OSS efforts - Apache AXIS (a better SOAP ORB), WSDL, UDDI. These efforts allow value to be added from the tools front. These tools should strive to make it easy for developers to wire together services into business process flows, and then to call these flows - otherwise known as applications.

Web services enable these next generation applications, which are really composed of software accessible across the Internet by common protocols, and open standards. These applications travel the "middle mile" between the trading partners and allow meaningful e-business conversations, with or without human involvement. Like open source software, Web services rely on the "network effect" Eric S. Raymond (author of the seminal works on open source software development including The Cathedral & the Bazaar, "Homesteading the Noosphere," and "The Magic Cauldron") describes - however, in a slightly different way. While Web services can be used between applications inside the same corporate network, or across a LAN between divisions, their value is fully realized when connecting trading partners.

The developer metaphor for invoking a Web service is very simple in theory and practice. First there's the matter of generating a stub from the WSDL file that describes the service: where it is, what it requires, and what it returns. Once this stub is created the developer uses it to call the remote code. This stub can also be used in larger constructs to wire together whole modules, sub-systems, or indeed whole processes. All this can be irrespective of what language any of the subtended Web services are written in, what operating system they're running on, or even where they physically execute.

The real value of Web services is their black box functionality. They can be used across devices, cross-platform, and cross-vendor. All any developer has to know is the location to the WSDL file and they can use the logic embedded in the Web service. The developer specifically does not own the execution environment.

Open Source vs Closed Source
Now that we know about Web services, let's return to the question of open source software versus closed source software. Most of you are probably familiar with object-oriented programming and have built applications on these principles. Two camps of thinking have emerged: the "Open Source Software" camp and the "Closed Source Software" camp.

Raymond, in his article "Homesteading the Noosphere," outlines some of the breadth and depth of the greatly varying "hacker" opinions. Among the zealous hackers he says that attitudes range from, "Free software is my life! I exist to create useful, beautiful programs and information resources, and then give them away," to, "Yes, open source is OK sometimes. I play with it and respect people who build it." And from the anti-commercial hackers the sentiments range from "Commercial software is theft and hoarding. I write free software to end this evil," to "Commercial software is fine, as long as I get the source or it does what I want it to do."

In his recent work "The Magic Cauldron," Raymond stated that when developing software, the following discriminators push projects towards open source:

  • Reliability/stability/scalability are critical.
  • Correctness of design and implementation can't readily be verified by means other than independent peer review.
  • Software is critical to the user's control of his/her business.
  • Software establishes or enables a common computing and communications infrastructure.
  • Key methods (or functional equivalents of them) are part of common engineering knowledge.
Let's examine each of these with respect to their application to Web services between business partners. Remember, our business has its core competency, and we rely on business partners for parts of our business beyond our core competence.

Web services allow us to call the most critical business functions to our business; however, these might reside on systems and infrastructure that are owned and operated by our business partners. Our partners own these mission-critical core business functions. So, if these services don't work when they're called, your natural response will be to find another partner, not to try to run the code yourself. After all, you can't do everything, that's why you have partners.

This business function will either be something quite simple and well understood like an order entry system or a product catalog, or it will be insanely complex and very proprietary. In the first case peer review isn't necessary; in the latter your partner isn't going to open the source - this is their core business value-add.

Applications built with various Web services will be critical to your business. However, they're owned by your partner, and so the selection of partner is critical - again open or closed source doesn't matter - if the partner isn't there, the service won't be there.

The entire Web services stack relies on a common communications infrastructure - the Internet. However, the implementation can be called irrespective of the computing platform used.

A common communications infrastructure is used between Web services - and much of this is already open source. But the code that's used by a Web service is a different matter. Even though the process of a given business function is well understood, it's not in your business or your sphere of competency, and therefore you may use someone else's service but probably wouldn't be inclined to run the code in-house. Indeed, one of the benefits of sharing Web services is in not owning the implementation, which means you have no knowledge of the source.

Conclusion
So, whether your business processes are coded in open source or closed source software seems almost irrelevant when using Web services. Web services de-couple systems and abstract their interfaces through XML and HTTP. As such, they're capable of bridging the acrimonious chasm between the operating system vendors and may be powerful enough to hurdle the rift between the open source and closed source communities. In the end, you don't have to know the implementation details of a particular business function. All you need to know is that it works. If it doesn't, it's your business partner's responsibility to fix it - or it's your option to find another partner.

About Noel W. Clarke
Noel W. Clarke is a Senior eBusiness Strategist for SilverStream Software Inc., where he has also held the positions of International Technical Account Manager and Product Marketing Manager for the B2B Division. Born in Durban, South Africa, he holds a bachelor of science degree in molecular biology from the Univeristy of Calgary.

SOA WORLD LATEST STORIES
EDI to XML: A Practical Approach
While EDI transactions account for most worldwide commercial activity, XML-based alternatives are beginning to gain traction. According to Forrester Research, stateful XML, stateless XML, and even flat file exchanges are all projected to grow at a faster rate than EDI over the next few
HP Launches New Versions Of SOA Testing Products
HP has introduced enhanced quality and management software designed to meet new requirements for mainstream deployment of service-oriented architectures (SOA) by businesses. To make sure that services meet all functional and performance objectives and are ready for production deploymen
Why Enterprise Architects Continue to Fall Short with SOA
If you read this column and listen to my podcasts, you know that I call SOA what SOA is - an architectural pattern. In many instances, SOA is a vital component of healthy enterprise architecture. Indeed, I've provided some keynote talks around this very topic at about half-a-dozen ente
Aras Delivers Version 9 of Advanced Model-Based SOA for Enerprise PLM
Aras announced the availability of Version 9 of the Aras Innovator suite of model-based service-oriented architecture (SOA) solutions for enterprise Product Lifecycle Management (PLM). Version 9 delivers model-based SOA for PLM and includes single-instance multi-language capabilities a
Skyway Software Launches SOA Developer Contest at JavaOne
Skyway Software, announced a SOA developer contest. The SOA design and delivery solutions provider announced the contest with a prize of a $2500 gas card for the winner. The company feels that the basics are very easy. The winner would also get a copy of the Skyway SOA Platform - Devel
Micro Focus Upgrades SOA Express for IBM CICS
Micro Focus announced the availability of SOA Express 8.0. The new version adds support for direct deployment into IBM's Customer Information Control System (CICS), enabling users to accelerate the deployment of Web services by reusing their existing CICS TS mainframe infrastructure in
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS


ADS BY GOOGLE