Emergic: Rajesh Jain's Blog

Emergic: Rajesh Jain's Blog header image 2

Adam Bosworth on Web Services

July 2nd, 2002 · 1 Comment

Adam Bosworth (BEA) writes in his XML Magazine column:

Thinking of the Web servers as “objects” is an extremely bad idea. Objects are repositories of state. Conversations with them are by definition not stateless. Because objects are encapsulated, conversations with them are also inherently fine-grained. If you think about it, coarse-grained messages are the antithesis of encapsulation. You are surfacing your state explicitly as a message.

This is at the heart of Web services. Web services doesn’t mean surfacing application “interfaces” to underlying objects through automatically generated SOAP. It means providing well-defined, coarse-grained messages that provide all possible information in one fell swoop (SOAP) and a contract (WSDL) for which messages sent in result in which messages sent back.

I don’t understand much of the above, but I think its something I should keep in mind and come back at a later point of time.

Tags: Enterprise Software

1 response so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment