Here's my favorite analogy. Out of all distribution technologies, HTTP- based web technology (and HTML) is the most successful one and dwarfs other much more elegant and efficient technologies such as Corba, DCOM, Java RMI, IBM MQ, MSMQ, RPC, .NET remoting etc.
This is a bit surprising considering the fact that HTTP is a hackish protocol. Application developers are often forced to do extraordinary acrobatics in order to achieve relatively simple things (think e.g., a wizard-based UI in a web application). HTML is a bloated text based data transfer format. Surely we could do better with an OO protocol designed with elegance in mind from the ground up. Surely we could have a more efficient, compressed binary transfer format. Yet, HTTP and HTML rule. The reasons why HTTP and HTML rule now are the same reasons why SOAP and XML (in other words, web services and SOA) will rule over OO distribution technologies. They will rule - at least in internet scenarios - despite that fact that they are far from optimal in many respects. One of the main reasons as Ian already pointed out is loose coupling. Another reason is statelessnes which tends to improve scalability. The bottom line is that loose coupling turns out to be more important than efficiency in the long run. That said, I reserve the right to reformulate my opinion when I see how web services handle versioning issues in practice :) The thing that troubles me a bit is that to make schemas version resilient, we just append an xsd:any. I've sworn to type safety for so many years that giving up even a small bit of it feels... well, wrong. Lastly, I want to point out that I'm a huge fan of OO. Yet I recognize the fact that OO is just a tool and is not the right solution to all problems. My �0.02 Sami =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
