Information about the two class projects will be added as they are announced (if not sooner).
Due: Monday, 18th April.
Update: A solution to Project 1 is now in this directory: http://www.cs.mu.oz.au/621/project_materials/p1_soln/. Copy the files to your own directory and edit the .java file to use your own amazon subscription ID before you compile it. This example does not include the proxy authentication (so you will need to add it if you are going to run the code on a CSSE machine).
As discussed in class, there were many different ways to do this project, and no one solution. For example, this solution detects errors using an XPath query, and generates output error html from the java code if there is an error. It is equally possible to write xslt rules which detect the error and generate error html via a transformation. There were also many different correct ways to write the xslt rules.
The Project 1 marks are listed here. This link works only from inside the university.
A signup sheet has been posted outside ICT 4.21 for Project 1 demos. There are blocks of time on Friday 22/04, Tuesday 26/04, and Thursday 28/04.
Here is the description of Project 1 (PDF).
Here is an example code fragment showing how to use the Java Xalan libraries to do XSLT transformations and XPath queries. (Xalan is part of the Apache project).
See the links page for a link to the Xalan API docs.
Generic Xalan2 sample code is at: /home/subjects/621/local/2005/xalan2/samples.
25th May, 2005 by 9am on Thursday 26th May, 2005.
Update: submission procedure:
To submit project 2, do:
submit 621 2
submitting all the necessary files together at the prompt. You should then do a
verify 621 2 to check that the submission is ok. You only need to do a submission under the login of one group member. However, as described below, your submitted files should include a README that lists all the members of your group.
Submit the following files:
- Your report. It should be in .txt, .pdf, or .ps format if at all possible.
- The java basket extraction code of Part 1.
- The basket data files that resulted from the extraction. Submit both the 'raw' basket data, and the baskets as formatted for input to
- The source files for the main java program of Part 3. Make sure you submit all necessary .java files for successful compilation. You don't need to include the .class files.
- Any other files used by this main program, such as the tag/integer mapping file.
- A 'README' text file that lists the names and student numbers of the people in your group (if there is other information you think would be useful you can add it in the README as well.).
- Optionally, any other related useful files, e.g. sample input files.
Information about Project 2 will be provided in three stages.
Here is the specification of Part 2 of Project 2.
Here is the specification of Part 3 of Project 2.
Here is an example that goes through the Part 3 steps in more detail.
Here is some sample code, useful for the Part 3 program, that shows how you can construct http requests to get pages containing the most recent 500 'bookmarkings' for each tag in a given array of tags (keywords). For your development and testing, please keep the time between http requests to 10 seconds, as in this code sample.
Please 'nice' any computation-intensive programs you are running.^ TOP