CSC309, Assignment 3, Clarification Page
- The new deadline for Assignment 3 is: Friday August 10, at 12:00 noon.
Due to logistical reasons, it will not be possible to further extend
this deadline.
- Whether to use frames or not in Question 1: This is a design decision that the student will need to take as appropriate, by considering the available options.
- Question 6 should read: "...the Applet in Question 5..."
- You may develop the Assignment 3 solution using any platform (Linux, Windows, MacOS). However, the solutions will need to be deployed on CDF for marking purposes. Web applications are platform-independent (ahem) meaning that they will work the same regardless of the platform, after minor configuration changes. If you should fail to transfer your solution to CDF, please submit screenshots of your solution working on your machine and the failure you see when transferring to CDF, and you will qualify for part marks.
- Due to a number of issues relating to system problems and usage of Java APIs that are beyond the scope of our course, Assignment 3 turns out to be way harder than adequate for the end of the summer term. We will waive the problematic parts of Assignment 3 as follows:
- For Question 1 it is sufficient to deal with same-domain URLs only (ie., URLs pointing to files on the server that deploys the page).
- Question 4 is worth only 10 points. If you encounter failures (that are not present in our solution) please submit screenshots of the exceptions for part marks. The total bonus is still 10 points, so students may choose to skip either Question 4 or Question 6 and still receive maximum marks.
- Question 5 is waived altogether. A sample applet will be posted shortly to illustrate how unzipping can be done without saving the file on the client side.
- Question 6 is restated as follows: "Modify the solution in Question 1 to use a Java Applet that takes the URL parameter from the address field of Question 1 and displays the result within the selected area of Question 1." For an acceptable (and commonly used) approach, see the example of Java/Javascript communication posted on the notes page.
- Several solutions are acceptable, in addition to the solution shown in the web services tutorial. You may choose return just a URL pointing to the zip file instead of the full zip file as a SOAP attachment.
- Please submit separate solution files for each question.
- The applet in Question 6 does not zip or unzip anything and does not use SOAP.
- Your assignment will be graded in CDF using Firefox. In Question 1 you do not need to deal with Internet Explorer which has a different handling of AJAX. If you are curious about that, see more information here
- An unzipping applet is posted here for learning purposes: here. In case you wish to re-build it, I have posted the entire Eclipse workspace which is presumably platform independent but won't fit in your CDF quota. Sorry I (radu) don't have the time to sort that out right now but I'm sure you can extract and read the applet. It works on my Windows laptop. You have my permission to use it for your own purposes (and watch out for possible patents on the idea). Companies such as Bitstream make a good living by compressing wireless browsing bandwidth.
-
In Assignment 3, please organize your deliverables as follows:
A single archive containing one README file and
multiple folders, each folder containing all the solution files
for one question, so that each question can be marked separately
without looking into folders for other questions.
Generally, you need to submit all solution files and test files
and the steps necessary to run your solution.
In your steps, you may refer to files such as mail.jar that
need not be submitted with your solution
if these files are already posted on our notes page.
At a minimum your submission should include:
- Q1: one or more XHTML files containing JavaScript and AJAX
- Q2: a Java file (source code)
- Q3a: WSDL file obtained by Java2WSDL
- Q3b: FileZipper_pkg with the Java files in it generated by WSDL2Java
- Q4: WSDD file used in deployment, and
deployment steps in README file, such as, commands that can be recreated
by the marker
- Q6: Applet, and
XHTML file containing JavaScript and AJAX
- Try to comply with the naming conventions in the Web Services Tutorial to help the marker. You will not lose marks for using different naming especially if your solution is different.
- Depending on your solution you many need to include other files,
such as updated classes, property files used to store ports, and/or zip files that you
may use for testing.
- Assignment 3 submissions will be accepted without penalty until 4pm on Friday August 10
but no later than that.