Owl Teach Yourself Java 2 in 21 Days, Fourth Edition
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS
ROGERS CADENHEAD

Day 17: Communicating Across the Internet

Notes and Corrections

Source Files

Reader Questions

  • None.

Activities

  • Solution 1: RandomWeb.java, RandomWeb.class, WebButton.class, and RandomWeb.html. To see this applet in a Web browser using the Java Plug-in, open RandomWebPlugIn.html. (One word of caution: Because this applet opens randomly selected domains with three-letter names when you click a button, you may encounter sites that are adult-oriented or otherwise indelicate.) Edit
  • Solution 2: FingerServer.java, FingerServer.class, agore.plan, gwbush.plan, and rcade.plan. To run this application on a Windows system, open an MS-DOS window and type java FingerServer at a command line. You can test the server using the Finger program you created during Day 17. Open a second MS-DOS window and use one of the following commands:
    • java Finger agore@localhost
    • java Finger gwbush@localhost
    • java Finger rcade@localhost
    Edit
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS

Search terms used to find this page: Java programming, teach yourself, 21 days, how to, learn, Sams, Pearson, Macmillan, Java 2, JDK 2, Java2, JDK1.5, Java 1.5, JDK 1.5, SDK1.5, Java 2 SDK 1.5, SDK 1.5, Java 2 version 1.5, Java 2 SDK, Java SDK, Rogers Cadenhead, Laura Lemay, tutorial, hands-on, source code, code, javac, java, application, appletviewer, help, learning, applet, servlet, servlets, JSP, Swing, GUI, interface, XML, JavaSound, Java2D, JDBC, JavaBeans, object serialization, IO, Tomcat, Apache, Java API for XML Parsing, Java API for XML Processing, XML-RPC, XOM, Web services, regular expressions, regex, java.nio, buffers, channels

Valid HTML 4.01!

Valid CSS!