Previous: , Up: Writing a Client Application   [Contents]

4.3.3 Writing a user interface

Given a client library, all it takes to access a service now is to combine calls to the client library with parsing command-line options.

Exercise: Call your client API from your run() method in your client application to send a request to the service. For example, send a 32-bit integer value based on a number given at the command-line to the service.