Chapter FOURTEEN. Web Services Basics

Enterprise services are web services. For this reason, to comprehend what ESA can do for you, you have to understand the basic principles of web services.

What are web services and why do we care?

To understand the benefits of web services and even what they are, it helps to think back a bit to life before the advent of the Web. It was very difficult for diverse kinds of computers to communicate; they each had their own protocol stacks and translation was tricky. The Web offered a lowest-common-denominator approach, making text its foundation with HTML and sending it over one standard protocol, HTTP. This created a revolution. Suddenly web browsers running on any platform could communicate with web servers on any platform, and they didn’t need to know or care where those resources resided.

In essence, web services create the same type of revolution, but this time for programs. Integrating disparate applications is the bane of the IT professional. Integration work requires using specialized application programming interfaces (APIs) or complex standards such as DCOM and CORBA to communicate between applications. Further, when applications are upgraded, the integrations typically break and must be refactored.

Web services strip this process down from programmatic remote procedure calls to simple text messages, which are exchanged between systems. With the help of web services, integrators do not need to know or care whether the application they will ...

Get Enterprise SOA 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.