1.8. When to Use Web Services

Now I'll explain some scenarios where you can realize significant benefits by using Web services. After that, I'll explain scenarios where it makes no sense to use them.

1.8.1. Communicating through a Firewall

When you build a distributed application with hundreds or thousands of users spread over many locations, there's always the problem of communicating between the client and the server because of firewalls and proxy servers. You cannot easily use DCOM in this scenario and you don't want to deploy a client to the thousands of users out there, so you end up building a browser-based client and writing a facade of Active Server Pages (ASPs) to expose the middle tier to the user interface. The resulting architecture ...

Get Real World XML Web Services: For VB and VB .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.