concept server in category apache thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.
Services are modular application components that provide interfaces accessible over a network. Apache Thrift IDL allows you to define services in addition to types (see listing 1.2). Like types, IDL services can be compiled to generate stub code. Service stubs are used to connect clients and servers in a wide range of languages.
$ g++ -std=c++11 server_trans.cpp -lthrift $ ./a.out [Server] listening on port 9090 [Server] handling request HELLO [Server] handling request STOP [Server] exiting !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":0,\"ch\":2},{\"line\":0,\"ch\":42}],[{\"line\":1,\"ch\":2},{\"line\":1,\"ch\":9}]]"} !@%STYLE%@!
In this chapter, we’ll examine the Apache Thrift Java library in detail. The chapter will walk you through building the Apache Thrift Java library JAR, as well as the steps required to create native Java projects using Ant and Maven. We’ll also look at using Apache Thrift on the JVM from non-Java languages. After building a starter RPC application, the chapter examines the various parts of the Apache Thrift Java and will walk you through the construction of asynchronous Java clients and servers.