Understanding Service-Oriented Architecture (SOA)

Most SaaS solutions provide complete solutions, meaning an application that can be used within a web browser. For example, Salesforce.com provides a web application for customer relationship management, TurboTax provides a web application for filing taxes, and QuickBooks provides a web application for business accounting. Beyond providing a complete application with a user interface, many solution providers offer specific services that developers can access across the web from within programs they create. Developers refer to these services as web services. A developer might, for example, use web services to do the following:

  • Query the price of a stock

  • Check a warehouse for current product inventory levels

  • Get real-time road or weather conditions

  • Check airline flight departure or arrival information

  • Purchase a product or service

  • Perform credit card processing

As shown in FIGURE 2-10, an SaaS application interacts with a user, whereas a web service interacts with a program.

An illustration shows SaaS application in a cloud interacting with a user outside the cloud. A web server in the same cloud interacts with an application outside the cloud.

FIGURE 2-10 Web services are solutions that programs can call across the web to perform specific tasks.

Service-oriented architecture (SOA) is an application development methodology with which developers create solutions by integrating one or more web services. Think of a web service as a function or subroutine a program can call to accomplish a specific task. As shown in FIGURE 2-11, when a program running on one computer calls a web service, a message, possibly containing parameter values, is sent across the network (or Internet) to the computer housing the web service. That computer, in turn, performs its processing and normally returns a result to the caller.

An illustration shows an application consisting of instructions and web service call sending a message with parameters to a server in a cloud representing web service.

FIGURE 2-11 To call a web service, a program typically sends a message to the web service that resides on a remote computer and then waits for the web service to return a result.

Some developers refer to web services as remote-procedure calls. Further, developers refer to a set of web services as an application program interface (API). Amazon and eBay, for example, provide APIs that programmers can use to purchase products from across the web using the programs they create.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset