O'Reilly logo

Core Java™ 1.1 Volume II - Advanced Features by Gary Cornell, Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Networking

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 AppletContext class.

We begin this chapter by talking a little bit about basic networking. Then, we move ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required