OBJECTIVES
After studying this chapter, you will
Understand some basics about networks.
Know how to use Java's URL class to download network resources from an applet or application.
Be able to design networking applications, using the client/server model.
Understand how to use Java's Socket and ServerSocket classes.
OUTLINE
15.1
Introduction
15.2
An Overview of Networks
15.3
Using Network Resources from an Applet
15.4
From the Java Library: java.net.URL
15.5
The Slide-Show Applet
15.6
Using Network Resources from an Application
15.7
Client/Server Communication via Sockets
15.8
CASE STUDY: Generic Client/Server Classes
15.9
Playing One-Row Nim Over the Network
15.10
Java Network Security Restrictions
15.11
Java Servlets and Server Pages
Chapter Summary
Solutions to Self-Study Exercises
Exercises