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 Computing
Conference & Expo
November 2-4, 2009 NYC
Register Today and SAVE !..

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
In many cases, the end of the year gives you time to step back and take stock of the last 12 months. This is when many of us take a hard look at what worked and what did not, complete performance reviews, and formulate plans for the coming year. For me, it is all of those things plus a time when I u...
SYS-CON.TV
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

SOA World Latest Stories
In Aug 2011, around 72 million people accessed social networking sites from mobile, increase of 37% from previous year (study by ComScore) and nearly 50% (of 72 million) access networking sites almost every day. Devising a cohesive strategy for addressing both mobility and social medi...
In a surprise move on Tuesday, January 10, Oracle wheeled out its Big Data Appliance. That’s the one it said in October would be ready sometime in the first half. Only nobody believed it meant early in the first half. Heck, it’s not even clear anybody thought Oracle could make the fi...
A Munich court Thursday found Motorola Mobility guilty of infringing an Apple patent and handed Apple a permanent injunction against two Android smartphones. Apple can enforce the injunction after posting a bond lest MMI succeed in invalidating the slide-to-unlock patent (EP1964022) ...
Quick Response (QR) codes are intended to help direct users quickly and easily to information about products and services, but they are also starting to be used for social engineering exploits. This article looks at the emergence of QR scan scams and the rising concern for users today....
The Chinese company that claims it owns the iPad trademark says it plans to seek a ban on iPad exports out of China, threatening global supplies. According to what a lawyer for Proview Technology (Shenzhen) Co Ltd told Reuters, the firm is petitioning Chinese customs to stop shipment...
Cisco Wednesday filed suit in the European Union’s second-highest court, the General Court in Luxembourg, challenging the European Commission’s rubber stamp last October of Microsoft’s $8.5 billion acquisition of Skype. Cisco says it isn’t opposed to the merger, but figures the EC sh...
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