Are resources the new objects? Proposal to rename “Web Services” to “Distributed Objects Revisited”

Yup, yet another spec; this time for managing resources. Itā€™s called WS-Management and I guess itā€™s in direct competition with the WS-RF-based WS-Distributed Management (WS-DM). Oh well šŸ™

It seems that this specification follows the recent trend to reason in terms of resources instead of services. I really enjoyed the following while reading the WS-Management:

Resource Service: A Web service that provides access to a single category of manageable items, such as disk drives or running processes, that share the same operations and representation schema.

Now, can anyone tell me how this definition of the ā€œresource serviceā€ is different from:

public class DiskDrive


{

// This is the disk drive's state

public long Capacity;

public long Free;

public void ParkHeads() {...}

public void Format() {...}

}

You see? Common methods (operations) for all objects (items) and public data properties (representation schema). Donā€™t get me wrong. I donā€™t have anything against distributed objects. Itā€™s just that I fear that toolkits will just make it sooooo easy to expose fine-grained objects (together with their state) as resources out there. Network-wide references to state (even if itā€™s representation of state) will be created. Interdependencies that cross service boundaries will be introduced and itā€™d be extremely difficult to manage them.

You see, in WS-Management, as with WS-Transfer, every manageable resource is addressed through WS-Addressing with the ReferenceProperties header containing an element which identifies the ā€œitemā€ behind the service boundary. Since WS-Addressing is treated as an opaque construct, itā€™s effectively a pointer.

It seems to me that the most recent specifications are moving us back to a distributed objects world. I recommend that we rename the suite of technologies from ā€œWeb Servicesā€ to ā€œDistributed Objects Revisited (DOR)ā€ since they have nothing to do with the Web and they are sooooo moving away from the concepts of service-orientation. At least the removal of ā€œWebā€ will make the REST folks happy šŸ™‚

Recent Posts

Digital Twin (my playground)

I am embarking on a side project that involves memory and multimodal understanding for an…

2 months ago

“This is exactly what LLMs are made for”

I was in Toronto, Canada. I'm on the flight back home now. The trip was…

9 months ago

AI is enhancing me

AI as an enhancer of human abilities.

10 months ago

“How we fell out of love with voice assistants”

The BBC article "How we fell out of love with voice assistants" by Katherine Latham…

1 year ago

Ontology-based reasoning with ChatGPT’s help

Like so many others out there, I played a bit with ChatGPT. I noticed examples…

1 year ago

Break from work

Hi allā€¦ Itā€™s been a while since I posted on this blog. Itā€™s been an…

2 years ago