4 Operator Precedence and Associativity4.11 Week 11 -- Regular Expressions4.12 Week 12 -- Networking

4.12 Week 12 -- Networking

4.12.1 Reading and Web Sites

  1. Look at the URL class
  2. Look at My sabbatical project.;

4.12.2 Notes

  1. TCP/IP
  2. You may want to use Regular Expressions

4.12.3 Assignments - Fetch a bit of information

Write a program that gets some information off of the Internet. It can be almost anything. Some examples:
  1. The current time.
  2. The status of a list of ebay auction
  3. The weather (temperature) fro a web site
Look at the URL class and how to convert it to a BufferedReader.

Turn in a copy of your code and show me your program running.

4.12.4 Assignments - Supply a bit of information

Write a program that provides the same information to the Internet.

Either using servelets or writing your own http server, using the code you wrote for the prior assignment to generate your own web page.

Set up your program so that the port used is provided by the user when the program is started. If the port number is not provided, use port 80.


Instructor: ltaber@pima.edu ** My new Home at GeoApps in Tucson ** The Pima College Site

4 Operator Precedence and Associativity4.11 Week 11 -- Regular Expressions4.12 Week 12 -- Networking