teaching » 2010 » ICW
For general information about the course, please visit the home page of the module.
Information for students in the tutorial group 1.
We have discussed several aspects of exercise 3:
Here is a simple web application demonstrating the use of the session mechanism. Try visiting the two pages and check what cookies are exchanged. Also, try to disable the support for cookies in your browser and see how URLs are automatically rewritten.
We have discussed how to implement the key functionalities required for exercise 3, in particular:
Here is the code used in the tutorial.
We have discussed issues related to exercise 3. In particular, we have focused on:
We have discussed issues related to exercise 2.
We have discussed testing with jUnit:
We did not have time to cover how to create test reports by using ant. This is included in the code: check the build.xml file. The build2.xml file adds the generation of code coverage reports.
Here are the slides and code used in the tutorial. The code is thought as a progression: Sax0 has no testing, Sax1 adds System.out.println statements, Sax2 uses jUnit tests (Sax2Test1), Sax2Test2 introduces setUp and tearDown methods.
We have discussed a few things about Java (jar files, etc.). We have also looked at some more advanced language features of JavaScript, in particular:
Here are the slides and code used in the tutorial
We have mainly discussed about the exercise. We have also looked at how to properly stop threads in Java.
Here are the slides and code used in the tutorial
We have looked at multithreading in Java, focusing on:
Here are the slides and code used in the tutorial (including the daytime server/client implementation, which we didn't cover in the tutorial).
We have examined more in depth some of the topics discussed in the lectures:
Here are the slides and code used in the tutorial.
Yes, some of the examples do not compile (why?).
Also, notice that the material contains some more advanced topics that
we did not have time to cover in the first tutorial session.
More precisely, we stopped at point 4 in Generics.java and we only looked
at inheritance() from Misc.java.