Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Final Answer
Final Answer

Recently, I've been seeing some chatter around adding a programmatic aspect to Web services that is currently not part of the specifications - namely, adding object orientation (in particular inheritance, although I'm sure polymorphism is implied). I've thought about this, and I think it's a bad idea.

I have a lot of experience in object-oriented coding and design, from C++ and Java as well as in some languages where it was bolted on, like PowerBuilder (yes folks, at one point Powerbuilder was not object oriented). And although I can see advantages to the concepts of inheritance and polymorphism in a general purpose programming language, I don't see the same advantages in a non-programmatic, descriptive system where the main reason for existence is to create an abstracted, easily callable API regardless of platform, language, or software.

From my point of view, Web services is primarily about defining business processes. Web services are the business API of the programming world, an API that reflects the idea of a services-oriented architecture. And after years in the industry there's one thing I'm certain of - almost no business process needs to have inheritance.

Business processes are the computerized implementation of ways of doing business. Sometimes it's completely automated, sometimes it's partially automated, and sometimes it's almost completely manual, with just one or two systems for input and tracking. But regardless, people don't think in terms of inheritance. They think in terms of inventory processes and the like. What is important is how they do their job, not decomposing the job for reuse.

Not that reuse and its companions aren't important to business - they are. It's just that services, which are truly at the edge of an enterprise, are as much a part of the business world as they are the technical world. Or at least they should be. Given all the marshalling and other out-of-process work that has to be done to invoke a Web service, we shouldn't see them exposing granular methods of an object. There should be no "setCustomer- FirstName" as part of a Web service - there should only be a "Customer" Web service. And because of the coarsegrained nature of Web services, they should not be part of some inheritance structure.

Java has the keyword final for a reason. In some circumstances it just makes sense not to let someone further down the line extend a class. Whether it's because of innate complexity or just to keep certain methods from being misused, there are times when you don't want to allow inheritance. Nowhere is this more appropriate than at the system interface, where use of an API is turned over to coders who haven't the slightest clue what is behind the curtain. Nor should they have to know anything. But that's the point. You want the service to work as advertised. As a flat hierarchy.

I don't want to have to have a base inventory service from which my particular inventory service (such as a magazine inventory) is derived. Because as a user of the magazine service I don't want to have to know things about the base inventory service, I just want to check to see if a magazine is in stock.

Even further, one of the advantages of Web services is that both the consumer and the provider can be written in any language that supports Web services paradigms. Large companies that have invested decades of programming into CICS/COBOL can leverage that code just as easily as the most recent J2EE work or .NET assemblies. And languages and paradigms that have no objectoriented constructs, and there are many of them, can use Web services as long as they can connect. And it needs to stay that way. Leave inheritance for behind the edge, not at the edge. And that's my Final Answer.

About Sean Rhody
Sean Rhody is the founding-editor (1999) and editor-in-chief of SOA World Magazine. He is a respected industry expert on SOA and Web Services and a consultant with a leading consulting services company. Most recently, Sean served as the tech chair of SOA World Conference & Expo 2007 East.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Enterprise Open Source Magazine Latest Stories . . .
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
C12G Labs has just announced an update release of OpenNebulaPro, the enterprise edition of the OpenNebula Toolkit. OpenNebula 3.2, released two weeks ago, brings important benefits to cloud providers with a new easily-customizable self-service portal for cloud consumers, and builders w...
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