19. Networking

Objectives

In this chapter you’ll learn:

• To understand Java networking with URLs, sockets and datagrams.

• To implement Java networking applications by using sockets and datagrams.

• To understand how to implement Java clients and servers that communicate with one another.

• To understand how to implement network-based collaborative applications.

• To construct a multithreaded server.

If the presence of electricity can be made visible in any part of a circuit, I see no reason why intelligence may not be transmitted instantaneously by electricity.

Samuel F. B. Morse

Protocol is everything.

Francois Giuliani

What networks of railroads, highways and canals were in another age, the networks of telecommunications, information ...

Get Java™ for Programmers: Deitel now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.