Object-Oriented Programming

Recommended texts: (there is no required text)
Exam 3, due 3/9/2001
Online material:
  1. UML Notation (pdf)
  2. UML Semantics (pdf)
  3. Java Tutorial
  4. HTML tutorial
  5. Fill-out forms
  6. Simple Java I/O
  7. Writing Servlets
  8. A Book on Java (version 1, which is completely adequate for this course).
    Note: Java does support general collections classes such as Vectors, Stacks, Hashes. See Chapter 8 of book
  9. Java Software Development Kit (including the compiler and runtime)
  10. Book on Objective C (pdf format)
  11. Adaptive Object-Oriented Software: a PWS book, by Karl Lieberherr
    This is the book that introduced the Law of Demeter
  12. Standard Template Library Page
    The STL is a library of C++ classes implementing many standard data structures.

Note on compiling servlets: Some people have had trouble compiling servlets because javac does not know where the Servlet library is (you get messages that HttpServlet is undefined, etc.)

The only way this can be done (unfortunately!) is to add the following two lines to the end of your 'c:\autoexec.bat' file (they should be single lines)(scroll sideways to see the whole lines!):

set CLASSPATH=.;c:\jdk1.3\lib\dr.jar;c:\jdk1.3\lib\tools.jar;c:\jsdk2.0\lib\jsdk.jar;c:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar;c:\Program Files\Apache JServ 1.1.2\servlets;c:\myjavalib

set PATH=c:\jdk1.3\bin

Then execute this file (or reboot). It's better to execute in case there are typos. Every subsequent time you boot, these variables will be automatically set.
CLASSPATH tells the java compiler where to find its libraries (I added the myjavalib in case you want to create Java libraries of your own). The PATH variable tells Windows where to find programs that you intend to execute from the command line (it might not already exist in your autoexec.bat file because people rarely run programs from the command-line n Windows.
If you download Java libraries from other sources and want to use them, add more directories to the CLASSPATH (separated by semicolins). Note that each '.zip" and '.jar' file is regarded by Java as a directory so your path names must end in these file names. '.class' files, on the other hand, are regarded by Java as ordinary files, so just include the directories containing them.

Homework assignments
Check this list frequently!

This course teaches the object-oriented paradigm of programming. It covers several object-oriented programming languages, including Smalltalk, C++, and Java. Final grade is based on graded homework, five exams and the semester project.

Team sign up Page

Programming Projects

Links

Servlet Resources