605.481: Distributed Development on the World Wide Web, Summer 2002

New! Final grades have been submitted to the registrar - enjoy your summer!
Paul McNamee


Course Times and Location:

Grading Policy
Grades will be based entirely on programming assignments. Students may use computers at home or work for the homework assignments, however many assignments must be uploaded to the University's UNIX system. Typically assignments will be given out weekly.
Academic Integrity
Work for this class is expected to be the result of individual effort; however, unless explicitly prohibited, it is perfectly acceptable to make use of published examples and source code from the literature if attribution is given. Furthermore, while it is permissible to discuss the general nature of lecture material and assignments with your peers, this does not extend to discussing or revealing solutions or source code. Students are expected to uphold the academic integrity of the university. Students using without reference, published material or copying the work (e.g., source code) of another individual will receive a zero on the assignment and the matter will be referred to the dean. Contact me if you have any questions, no matter how slight, about this policy, or if you have questions about a particular assignment.


  1. HW#1: HTML Syntax
  2. HW#2: Simple Java Applets: Emoticons
  3. HW#3: Graphical Components and Event Handling (sample output)
  4. HW#4: Multithreaded Programming
  5. HW#5: Network Programming using the game of Mastermind (on-line rules)
    Note code for the Number Guessing example is on-line (see below) and the networking code from the course text is available at http://archive.corewebprogramming.com/Chapter17.html
    Also see helpful code (MMind.java)
    MasterMind Solution
  6. HW#6: Computerized Examination using Java Servlets
    The server is running normally; there shouldn't be any problems accessing aplcenmp on port 4810.


  1. Course Outline
  2. Administrative Information
  3. Basic HTML
  4. HTML Frames
  5. Cascading Style Sheets
  6. 6/5/02 Overview of Java
  7. 6/5/02 Java Syntax
  8. 6/5/02 Object-Oriented Programming (I)
  9. 6/5/02 Object-Oriented Programming (II)
  10. 6/10/02 Java Applets and Basic Graphics
  11. 6/10/02 The Java 1.1 Event model
  12. 6/12/02 The MapZest example HTML Java source
  13. 6/12/02 Graphical Components
  14. 6/17/02 Layout Managers (How to organize graphical components).
  15. 6/17/02 The Battleship example HTML Java source
  16. 6/19/02 Drawing with Java 2D
  17. 6/19/02 Swing Components
  18. 6/24/02 The Clock example HTML Java source
  19. 6/24/02 Multithreaded Programming
  20. 6/24/02 Multithreaded Graphics
  21. 6/26/02 Writing Network Clients in Java
  22. 6/26/02 Writing Network Servers in Java
  23. 7/1/02 Number Guessing Example: Server Client
  24. 7/1/02 RMI: Distributed Objects in Java
  25. 7/1/02 HTML Forms
  26. 7/1/02 Talking to Web Servers from Java applets
  27. 7/1/02 Input Form Example (using mailto protocol)
  28. 7/3/02 No class due to July 4th celebrations.
  29. 7/8/02 Java Servlets
  30. 7/8/02 Local web server with documentation about the Tomcat servlet engine.
    For more information about Tomcat visit http://jakarta.apache.org/
  31. 7/9/02 How can you create an image dynamically? See Odometer.java
  32. 7/10/02 Java Server Pages
  33. 7/15/02 Java's Database API

On-line resources

JHU on-line resources

Paul McNamee