Homework 5
CS520, Spring 2007


Due: Friday, May 25

Package all the source files of your project into a zip file using the zip Ant target you developed in Homework 1, and upload the zip file to CSNS. Note that file uploading will be disabled automatically after 11:59PM of the due date, so please turn in your work on time.


[Reading]

[AJAX] 

Continue to enhance the CSNS Mailing List you developed in Homework 4 by adding two AJAX user interface controls. Note that you may use any AJAX library of your choice.

1. (15pt) When a user clicks on the Subscribe (or Unsubscribe) button (or the equivalent in your user interface), an XmlHttpRequest is sent to the server, and if the request is successful, the button is changed to Unsubscribe (or Subscribe) without refreshing the whole page.

Name Description Owner Created On # of Subscribers Subscribe/Unsubscribe
csns-announcements Announcements related to CSNS. cysun 03/10/2007 20 -
cs101-s07 CS101 Spring 2007 Class Mailing List. i0001 03/22/2007 15
j2ee-discussion Anything related to J2EE development. s0030 02/01/2007 30

2. (25pt)  When a user chooses a different option in the pull-down menu (or the equivalent in your interface), change the content of the message table accordingly without refreshing the whole page.

csns-announcements:    Messages contain: 
Subject Sent by Date
CSNS server will be down for maintenance on April 9, 2007 cysun 04/02/2007
New features added cysun 03/10/2007

[Extra Credit]

(Up to 30pt) For extra credit, add more AJAX user interface controls, e.g. callout box to show the content of a message, tabs for user profile management,"AJAX-ized" displaytag table, displaying search results as the user types, and so on.

[Subversion]

Before submitting your work, commit all the changes to your Subversion repository, and create a tag called cs520-hw5.