"Performance does suck but that could be because Web Services is more ambitious in its aims than Component Services."
Er, no. Performance sucks for several reasons: 1) Microsoft often rushes to market with a suboptimal product and improves it over time, and that's most likely the case here. I'm talking about the Web services protocol handling code, etc. etc. Actually, this applies to the whole .NET platform. It's understandable; they want to see market value right away. If performance-minded developers rewrote the Web services code, it would probably be much faster. We've already seen some performance gains in several areas with each release of .NET. Oh, while I'm on this kick: I've read that marking up code with lots of attributes slows it down. This can also be responsible for a little slowness, I imagine. and more importantly, 2) Huge increase in network traffic when transitioning everything to Web services. Have you seen how chatty SOAP conversations are (think discovery etc.), and how bloated the messages in many cases? You can easily look at hundreds of times the traffic compared to the previous distributed services standard, CORBA. Or COM+, for that matter. All this builds up into latency that compounds the problem. It's the reason that .NET developers writing enterprise apps these days on .NET are using things like remoting, messaging, etc., even writing their own protocols in some cases, to handle communication between internal components of a distributed application. Of course, just like with anything else, an idiotic implementation of Web services is going to suck. Web services are good for connecting disparate systems, exactly as Mr. Bouma said. Also, .NET Web services is in its infancy compared to COM+, which is really the first platform of which I'm aware to support a good programming model for distributed transactions. There's really no value, for instance, in deploying Web services for all the applications on your intranet in order to get the discovery capabilities, unless all you're after is location independence, which can easily be achieved in different ways. This is because an application should always know the interface of the thing it's connecting to anyway. Even knowing how to look something up via discovery is knowing the interface. Any fuzziness in the interface spec could allow multiple services to compete for the same audience, a bad idea unless you're partitioning an application on purpose (and when you hit that wall, you will naturally NOT use something as slow as Web services for internal communication of your components). There's also no value to multiple companies to deploy similar Web services for other companies to connect to dynamically via discovery search (again, disregarding the important property of location independence, which is most often provided in Javaland using LDAP, even for internal non-WS apps that need to find each other). This is because if they provide a Web service with the same interface as another, there's no compelling need for a program to choose theirs over another, no ability to sell their unique business value. This very simple and obvious fact is the one reason that there hasn't been the explosive growth of an online Web services marketplace predicted by Microsoft. Web services between companies are used to connect applications between platforms, through firewalls, etc., exactly the uses Mr. Bouma's talking about. It offers B2B implementations that are much better than older things like EDI, which are better than what came before. I think it's important not to get giddy over the latest spec or vendor-specific doodad, no matter what you do for a living. CORBA has come and largely gone, COM+ is alive and well for now, Web services just showed up, but remember how many applications used to communicate via flat files in the old days? That got work done, but it had flaws. Each new technology reflects new discoveries about the right way to do things. The right thing to understand about Web services is not "Microsoft's Web Services .NET(TM) is MS grrrEAT!" but that Web services offer the ability for disparate systems to communicate via most networks these days. That's the big deal. Jeff =================================== 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
