Spring Semester 2008


Week Sixteen (04/22-24)
Lab Fifteen: buffer lab (projects, late assignments, makeups, special topics).

Week Fifteen (04/15-17)
Lab Fourteen: buffer lab (projects, late assignments, makeups, special topics).

We are here.
Week Fourteen (04/08-10)
Lab Thirteen: Lab Twelve: JDBC. Connecting to databases from Java.
Notes from an older lab 12

Week Thirteen (04/01-03)
Keeping state with Java servlets and JSPs.
In lab this week: nothing new to be presented.
Let's use the time in lab to be sure everybody's up to date with all assignments.
Week Twelve (03/25-27)
Lab Eleven: Java Servlets and Java Server Pages (JSP). Chat application.
Code developed in lab on Friday.

Week Eleven (03/18-20)
Lab Ten: Tomcat installation. Basic Java: simple web server in Java.

Relevant for the lab this week:

A JSP that implements the Flag Quiz.

The notes with sample Java web server developed from scratch are here (also listed on the lab assignment page).

Notes to serve as a reference and guide when discussing servlets and JSP: one, two, three.

These are the files needed for the web chat application:

     chat/HttpMessage.class
     chat/ChatApplet.class
     chat/HttpMessage.java
     chat/WEB-INF/lib
     chat/WEB-INF/classes/MessageSource.class
     chat/WEB-INF/classes/MessageSink.class
     chat/WEB-INF/classes/Chat.java
     chat/WEB-INF/classes/ChatServlet.class
     chat/WEB-INF/classes/Chat.class
     chat/WEB-INF/classes/ChatServlet.java
     chat/WEB-INF/classes
     chat/WEB-INF/web.xml
     chat/WEB-INF
     chat/index.html
     chat/ChatApplet.java
     chat
Note that echo $JAVA_HOME and which javac/java should return consistent outputs/values.

A common mistake would be to use jdk1.5 for JAVA_HOME and jdk1.6 for javac/java. (You get bad version number in class then...)

Week Ten (03/11-13)
Spring Break: no classes.

Week Nine (03/04-06)
Lab Nine: Javascript and DHTML.
Code to be discussed in lab: flag quiz
Also useful: older lab notes, prototype example, and another one.

Week Eight (02/26-28)
Lab Eight: Practical Exam (follow-up to the in-class midterm exam)

Week Seven (02/19-21)
Lab Seven: Practice for the Midterm.
Review notes: part I, part II.
In lab we developed these: one, ... (note: add the others).
Week Six (02/12-14)
Lab Six: based entirely on chapter 11 in the text.
Programs developed in lab:

Week Five (02/05-07)
Lab Five:

Week Four (01/29-31)
Lab Four: Here's a link to the What's New? for the first four weeks of classes (if you need it).
The link to the notes for those weeks was also posted, below.

Week Three (01/22-24)
Lab Three: Notes (in the old format) for this week and the previous, as posted at the time.
The link to the What's New? page for the first four weeks is being posted above.

Week Two (01/15-17)
Lab Two: Code developed in the Friday lab by:

clreinki: one

johmyers: two

mrengler: three
Lab on Thu did almost the exact same thing. So, just for our reference.

Week One (01/08-10)
Lab One:

The list of students and their assigned ports for this semester can be found here.


Updated by Adrian German for A348/A548