Does doc/literal guarantee loose coupling?

Eric Newcomer writes about the use of doc/literal when building WS applications. He supports the idea of document exchange to achieve platform integration. Of course, I agree with Eric since this is exactly what Jim and I have been advocating for some time.

I would like to comment on this particular comment by Eric…

The doc/literal style would seem to be the most abstract or the most “loosely coupled,” since it does not include data typing (although data typing is provided by an associated XML Schema) and does not include a method name in the message.

Indeed, the use of doc/literal style may seem to offer loose coupling. As Don Box says (MSDN show part 1, part 2), we share schema and contracts and not classes. However, doc/literal and Web Services do not guarantee loose coupling. One could still come up with protocols and patterns that go against everything that Eric suggested (yes, as you’d expect, WS-RF comes in my mind 🙂

Recent Posts

BrainExpanded – The Timeline

See "BrainExpanded - Introduction" for context on this post. Notes and links Over the years,…

3 days ago

BrainExpanded – Introduction

This is the first post, in what I think is going to be a series,…

3 days ago

Digital twin follow up

Back in February, I shared the results of some initial experimentation with a digital twin.…

2 weeks ago

Digital Twin (my playground)

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

10 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…

1 year ago

AI is enhancing me

AI as an enhancer of human abilities.

1 year ago