Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Clients are the end user interface to an application and end up being responsible mainly for collecting user input and sending it to the server. Servers are the recipients of that information. Think of a client approaching your restaurant with a pocket full of money and you the owner, as the server, gladly accepting that money for your product and services. In this section we begin our discussion of client/server programming by developing an application that transmits information across a network connection to another program.
The PizzaTool we are about to create is a stand-alone Java application and will have a fancy GUI interface that you can design yourself. Our GUI code's framework looks something like this: