A great deal of modern applications use HTTP (Hypertext Transfer Protocol) nowadays. This stateless, application-layer protocol allows us to exchange messages between distributed systems. The message exchange process can be observed through a client-server computing model as it happens in the form of the request-response type of messages. This allows us to easily write a service, or web service to be more specific, that triggers various operations on server and feedback data back to the client.
In this chapter, we will take a closer look at this client-server relationship through the following sections:
- Understanding the client-server relationship
- Working with SOAP:
- XML extensions
- Creating server
- Creating WSDL file
- Creating client
- Working with REST:
- JSON extensions
- Creating server
- Creating client
- Working with Apache Thrift (RPC):
- Installing Apache Thrift
- Defining service
- Creating server
- Creating client
- Understanding microservices