Fri-Fri Dec 02-09-
Here's the final project as a JSP as developed in class:
Thu Dec 01-
Let's start with this:
... ---+--- $CATALINA_HOME ---+--- webapps ---+--- chat ---+--- WEB-INF ---+--- classes ---+--- Chat.java
| | | | | |
| | | | +--- lib +--- ChatServlet.java
... ... ... | |
| +--- web.xml
|
+--- ChatApplet.java
|
+--- HttpMessage.java
Here are some notes supporting the above:
Last time we did this:
$CATALINA_HOME --+-- webapps --+-- squash --+-- WEB-INF --+-- classes --+-- One.java
| | | |
| | | +-- lib
| | | |
| | | +--- web.xml
| | |
| | +-- one.html
| | |
| | +-- index.html
| |
| +-- ROOT --+-- WEB-INF ...
+-- bin |
| +-- index.html
+-- conf
|
+-- logs
|
...
Tue Nov 29-
Final Project for this class:
- watch the videolectures, come to class, read the posted notes
- implement a program place it in Tomcat so it behaves like this
- write down a detailed description of a solution to this problem
Thu Nov 24-
Lecture and lab notes next week in videolecture format.
Please use your network ID to authenticate, let me know if your username/password don't work.
Tue Nov 22-
Today in class we will review this diagram.
Notes as written in class.
Fri Nov 18-
Today in lab we will start with this.
We might also, in fact, start with this.
Wed Nov 16-
Renyuan Zhang asked the purpose and context of what we did in class yesterday.
He also asked for some references which I am hereby providing:
Tue Nov 15-
Today in class we will install Tomcat.
Here's how the process will go (as described in Spring 2011 in C212).
We will need to provide specific port numbers for everyone.
That will be our attendace for the day:
* wonderm 11500 11550
* mlwatt 11501 11551
* amblong 11502 11552
* jujmart 11503 11553
* colrice 11504 11554
* mj82 11505 11555
* kkaerich 11506 11556
* iankrot 11507 11557
* dlaymon 11508 11558
* thochris 11509 11559
* brpheish 11510 11560
* ohh 11511 11561
* addoyle 11512 11562
* ksprouls 11513 11563
* clark220 11514 11564
* amaetroy 11515 11565
* rosdurki 11516 11566
* kelnadam 11517 11567
jfagiano 11518 11568
* amcfetri 11519 11569
* davtstew 11520 11570
* brstarr 11521 11571
* nitperez 11522 11572
* renzhang 11523 11573
* mengqi 11524 11574
* gsnee 11525 11575
rschadha 11526 11576
* tnevitt 11527 11577
* kmnacke 11528 11578
........ 11529 11579
........ 11530 11580
........ 11531 11581
........ 11532 11582
........ 11533 11583
........ 11534 11584
........ 11535 11585
Here's the content of ~/.bash_profile for Dave:
-bash-4.1$ cat ~/.bash_profile
EDITOR=pico
export EDITOR
export PATH=$PATH:$HOME/lib/python2.6/site-packages/django/bin
export PYTHONPATH=$PYTHONPATH:$HOME/lib/python2.6/site-packages
JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun.x86_64
export JAVA_HOME
CATALINA_HOME=/u/davtstew/apache-tomcat-5.5.17
export CATALINA_HOME
CLASSPATH=.:$CATALINA_HOME/common/lib/servlet-api.jar
export CLASSPATH
-bash-4.1$
Tue Nov 08-
I am in England to make a presentation at a conference returning Sunday.
Jason Yoder with help from Mike Bestvina will teach the class (Tue/Thu/Fri) using the posted notes.
The conference is the 10th European Conference on e-Learning and is held at the Univ. of Brighton.
Wed Nov 02-
For tomorrow please prepare
Stars.java posted as template in Class Notes.
Tue Nov 01-
Here are the grades after the first three lectures/labs.
Authenticate with your IUB network ID (as when you log into the STC machines) and choose A202-A290.
Tue Oct 25-
A290/A590 Java starts today, here are the first day's notes.
Sat Oct 15-
This is a summary of what we did in lab yesterday.
Thu-Fri Oct 13-14-
Lecture notes for the lecture and lab at the end of this week.
Tue Oct 11-
Today in class we will start with this interactive activity
.
Your websites need to have:
- an index.html with a picture and your name and links to useful materials
- a protected folder
- five documents in the protected folder summarizing your knowledge of Apache, Unix, HTML, MySQL, PHP, CakePHP, Django and anything else
Fri Oct 07-
Script to be used in lab and lecture.
Thu Oct 06-
These are the notes as we wrote them today in class.
Tue Oct 04-
Review of basic CGI/Python development.
Quick review of Python.
Review of basic program development in Python.
Python/CGI library documentation.
Sample development of same program in CGI/Python.
Here's the same but using PHP.
Here's a CGI/Python program that keeps state on the server-side.
Mon Oct 03-
Instructions for installing:
Here are two exercises for us to practice what we learned last week:
After you install your MySQL server:
- create a user,
- a database (accessible by the user)
- and populate it with some data.
Then try these:
- a Python program,
- a Perl program,
- and a PHP program
Finally we need to discuss this.
The above document is the basis for the following development.
The constituents of that example:
MySQL table set up for the client side program:
create table hwFour (
session_id char(8) primary key,
message varchar(240) ,
questions varchar(180) ,
correct int ,
total int ,
anskey varchar(24) ,
modified timestamp
);
Here's what this example would be without those tools.
(Here's a more colorized version of the above document.)
Thu Sep 29-
What is MySQL good for?
Notes as we wrote them in class...
Tue Sep 27-
Notes as we wrote them in class today.
Fri Sep 23-
Today we started a Wiki in OnCourse A202. All present to the lab were added.
Everybody in the class will be added by Sat pm, so we can work on it together.
Thu Sep 22-
Here are the notes from Thursday's class.
Wed Sep 21-
Stephen came to office hours today and this is what we discussed.
Later on Amber and Yang also came and we worked out this.
Tue Sep 20-
This week we discuss implementing a program like this in CGI/Python and PHP.
What's Due? has the minute paper for today.
Here's the link to today's class notes as written in class.
Fri Sep 16-
Lab notes as we wrote them in class today.
Thu Sep 15-
Notes as we will write them in class today.
Wed Sep 14-
Thanks to Kelsey who pointed out this.
She used lsof (try man lsof) as follows:
- first she moved (
mv) her mysql folder to asdf (randomly chosen name)
- she tried
rm -rf asdf and that removed almost everything
- there was one file
.nfs00000000402c4c7600000b4d that wouldn't go away
- she ran
lsof | grep kelnadam | grep nfs00000000402c4c7600000b4d to find out what process(es) have that file open
- she identified the process ids and ran
kill on them: kill 1145 1147 1148 1149 1150 1151 7207
- she was then able to remove the folder (
asdf)
Tue Sep 13-
Notes for Tue will include CakePHP installation and exercise (Project Three).
Mon Sep 12-
Class Notes has changed to include new MySQL/PHP installation steps.
Sat Sep 10-
The
MySQL problem has been fixed, new notes to be posted shortly.
Fri Sep 09-
Today in lab we will discuss programming in CGI/Python and PHP.
Links to
Whatever we do in class today
will be written down and made
available in real time here.
Thu Sep 08-
Today in class we will make use of this set of notes.
Whatever we do will be written down and will be made available in real time here.
Tue Sep 06-
Here's the list of students and ports for this class.
Mon Sep 05-
Labor Day today, classes don't meet and offices are closed.
In class tomorrow (and later in the week) we install MySQL and PHP.
Fri Sep 02-
Appointments script is now up and running.
Thu Sep 01-
Today in class we will go over this material.
Apache installation steps, some notes from a while ago.
Mon Aug 29-
Fall semester starts.