CPSC 559 - Introduction To Distributed Systems
Fall 2008
General Information
TA | Tyson Kendon | Office | ICT 716 |
---|---|---|---|
Time | Tut 01 MW 1400 | Location | |
Office Hours | By Appointment |
Notes
- Good Luck on the final.
Labs
September 15, 2008
First Assignment
- We will talk about the first assignment.
- I have confirmed my grade breakdown with Prof. Kawash, including the marks for the bonus.
- Demo - 20% Demonstrate your program working, explain why it does.
- Style - 15% Is your code readable, commented, and well designed? Do you use Java correctly.
- Code - 50% Does your code do what the assignment says it should do?
- Functionality 15% - Does your synchroniation work? Does the flow of your program meet what's required in the assignment?
- Bonus GUI 10% - Make sure the rest of the assignment works first.
September 17, 2008
Threads in Java
- In MS 119
- We will look at threads in Java, how to use them and how to synchronize them.
- I should point out I lost my mind at the end of today's lab. I will post my correct producer and consumer code tomorrow, but wanted to point out my mistake now. wait() and notifyAll() need to be called on the object who's lock we are holding (the object we used as the argument to synchronized). If we are in a sychronized(d) block, to wait the current thread thread we need call d.wait(). Not holding the lock is what causes the IllegalMonitorStateException to be thrown when we attempt to wait or notifyAll. Sorry for the confusion, the correct way to do this is shown in my code.
- The code is now posted in the Handouts Section.
September 22, 2008
Threads in Java (the sane version) and JDBC
- We will look at wait() and notifyAll() again. This time with correct syntax.
- We will also look at the basics of JDBC.
September 24, 2008
JDBC
- We covered the basic acts of connecting to the database from a java application, creating and executing queries.
September 29, 2008
Java RMI
- We will start covering Java RMI.
October 1, 2008
Serialization / RMI Workperiod
- I will breifly address Java Serialization, but most of the time will be dedicated to addressing practical problems with RMI.
- Please note this tutorial was provided for background information, RMI will handle all serialization for you. You only need to ensure that your parameters and return types are serializable.
October 6, 2008
Workperiod
October 8, 2008
Workperiod and Assignment Requiremtns
- I anounced the times available for demos. See the demos page to sign up for a time.
-
I also outlined the mark breakdown for the assignment:
- Demo - 50%
- Functionality - 25%
- Question / Answers - 25%
- Code - 50%
- Functionality - 30%
- Style - 20%
- Demo - 50%
- When doing your demo please be prepaired, have the computer you would like to run your system on read. (I do not care if this is your own laptop). Please be preparied to discuss rmi and jdbc (based at least on the documentation i have recommended) and your own design choices for your system.
October 13, 2008
Thanksgiving - no lab
October 15, 2008
Sockets
- I will go over sockets and how you need to use them for the next assignment.
- Update I have posted the example in the handout section.
October 27, 2008
Servlets
- I will talk about servlets and how to use them for the first assignment.
October 29, 2008
Servlets again
- I will finish talking about Servlets and how to use them for the first assignment.
November 3, 2008
JSPs
- I will talk about Java Server Pages and how we might want to use them in the assignment.
Page Updated: November 11, 2008 at 18:20 MST