In-class Examples List
CIS 480
Advanced Java Programming
Spring 2001
this page last modified: 5-7-01
Important Note:
This is merely a selection of files and examples, most of which were
mentioned or used in the class . It is not a comprehensive
list, nor are all lectures included. Formatting is generally minimal.
- Lecture 15 - a bit more about Servlets
- Lecture 14 - Intro to servlets
- lines to add to your .cshrc in order to compile servlets:
setenv ORACLE_HOME /home/univ/oracle/products/w4.0.8
setenv ORAWEB_HOME /home/univ/oracle/products/w4.0.8/ows/4.0
setenv JAVA_HOME $ORAWEB_HOME/jdk
# setenv of CLASSPATH needs to all be on 1 line, OR broken up
# by ADDING additional paths to CLASSPATH in several tries
setenv CLASSPATH "$CLASSPATH":$JAVA_HOME/lib/classes.zip:$ORACLE_HOME/ows/cartx/jweb/classes/jweb.jar:$ORACLE_HOME/ows/cartx/jweb/classes/jservlet.jar:$ORACLE_HOME/orb/4.0/classes/yoj.jar:$ORAWEB_HOME/classes/cosnam.jar
setenv LD_LIBRARY_PATH $ORAWEB_HOME/../cartx/jweb/lib
setenv THREADS_FLAG native
- st10HelloServlet.java
- try calling the above with:
http://sorrel.humboldt.edu:8895/jservf/st10/st10HelloServlet
- st10GreetMe.java
- try calling the above with:
http://sorrel.humboldt.edu:8895/jservf/st10/st10GreetMe?username=pick_a_name
- st10GreetMe.html
- servlet_howto
- Random notes from lecture
- Lecture 13, 4-23-01: Intro to JDBC continued
- Lecture 12, 4-16-01: Intro to JDBC
- A command to add to your .cshrc file to add both your
public_html/classes directory and the directory containing
the JDBC driver classes to CLASSPATH on sorrel (please note that
it should be all on one line, that you should insert your
user name where indicated, and remember that you have to
"source .cshrc" or log off and on again to have it actually
executed, of course...):
setenv CLASSPATH "$CLASSPATH":/home/faculty/YOUR_USER_NAME/public_html/classes:/home/univ/oracle/products/jdbc/lib/classes12.zip:.
- TryJDBC1.java
- DemoGetXXX.java
- DemoGetXXXByPos.java
- BuildEmpFile.java
- AskForCol.java
- CreateTable480.java
- Random notes from lecture
- Lecture 11, 4-9-01: Intro to Java file i/o, continued
- Lecture 10, 4-2-01: Intro to Java file i/o
- Lecture 9, 3-26-01 - Intro to Threads, part 2: double-buffering and
synchronization
- Lecture 8, 3-12-01 - Intro to Threads, part 1
- Lecture 6, 2-26-01 - Intro to Swing, part 3
- Lecture 5, 2-19-01 - Intro to Swing, part 2
- Lecture 4, 2-12-01 - Intro to Swing, part 1
- Lecture 3, 2-5-01 - Intro to Java Applications, Part 2
- Lecture 2, 1-29-01 - Intro to Java Applications, Part 1
Back to Course Home Page
Please send questions to
st10@humboldt.edu .