Java Clients and Servers

Week 11, Class 2

This discussion considers Java's support for client/server architectures, a particularly powerful and flexible design in which a process running on one machine can respond to requests for data and/or services from a program running on a different machine. The beauty of the arrangement is that the two machines may be located anywhere in the world so long as they are connected to the Internet.

The discussion will include two parts. The first will cover the basics of establishing a connection between client and server programs. In a subsequent tutorial, a more advanced design will be discussed in which each connection to a server is handled by a different thread; however, that discussion must await the discussion of threads that follows.


Topics


References

Useful references include:

Assignment for Next Class