SWE 432: Design and Implementation of Software for the Web
Assignment — Fall 2014
This course is part of the ACS Software Engineering
and the minor in Software Engineering programs.
Syllabus Schedule
  

SWE 432 Assignment 9
Java Server Page Processing
Due 11/11


Modify your previous servlet by replacing the initial front end with a JSP and adding new functionality.

As before, your program will have three screens: (1) an initial screen with a blank form for an event information (event name, date, time, location, and description); (2) a screen that presents the event information with two buttons to confirm ("attend" and "not attend"); and (3) a screen that presents the event information, a count of the current confirmation, and the same two buttons for additional confirmation.

Users will initially run the new JSP to generate screen (1). The JSP will replace the doGet() functionality from assignment 8 by displaying the initial screen with a blank form to enter an event information. When the user submits the event information, the JSP will send the form data to a servlet to process the request. That is, the form action should be your servlet.

Your servlet will behave similarly to the last assignment. The servlet should respond with a screen that shows the event information and the two confirmation buttons, screen (2). This screen should submit to a servlet that returns screen (3) by redrawing the event information, and adds a count of how many of each kind of confirmation has been provided (just like assignment 8).

Screens (2) and (3) should include one more behavior. The user should be able to "restart" by deleting the current event and counts, i.e., no event remaining in the system. This could be done in several ways, including going back to the original JSP.

You can format the screens as you wish as long as you follow the usability guidelines from class. You can also add additional functionality. Get creative and have fun!

As before, you can work with a partner or alone. You can work with the same partner as the previous assignment, or a different partner.

Within the above constraints, feel free to format the web pages as you wish and include extra functionality. Your program will be graded on correctness, and also on the readability and maintainability of the JSP, Java and the HTML they produce (for example, be sure to add carriage returns!).

You will deploy your JSP program on the swe432 application server, as detailed in the JSP and Bean Deployment Instructions.

Submission

Put your name and "SWE 432 - Assignment 9" on all screens. If you work with a partner, put both names on the screens. Submit your program by

NOTE: I will access each assignment shortly after the due date and not look at your web site afterwards.

Making your web page available to me is your responsibility. If I cannot access your file then you will not get credit. Be sure to test access to your file before the due date.

Prepare to present your invitation system at the end of the semester.

Grading Rubric

The grading for this assignment will be as follows:
[Total: 20 points]

Special Helper Extra Points

[Purpose: promote collaboration]
[Total: 10 points]

If you got help from your classmates (excluding your partner), when you submit your assignment on Blackboard, please

If you have multiple helpers, please specify their names and what/how they helped explicitly on Blackboard.

NOTE: Extra points will not be awarded if any of the above information is missing.

The helper earns 1 extra point for each project he/she helps, upto 10 extra points.



© Based on documents by Dr. Jeff Offutt (the original author) and Dr. Kinga Dobolyi, use with permission of the author. This document is made available for use by GMU students of SWE 432. Copying, distribution or other use of this document without express permission of the author is forbidden. You may create links to pages in this web site, but may not copy all or part of the text without permission of the original author.