Java is supposed to become the premier tool for connecting computers over the Internet and corporate Intranets. In this realm, Java mostly lives up to the hype. If you are used to programming network connections in C or C++, you will be pleasantly surprised at how easy it is to program them in Java. For example, as you saw in the applet chapter in Volume 1, it is easy to open a URL (uniform resource locator) on the Net: simply pass the URL to the
showDocument method in the
We begin this chapter by talking a little bit about basic networking. Then, we move ...