| Lecture Materials |
|
| Reading Assignment: |
|
Programming Assignment
(For Monday, March 4) |
 | Provide a new button called "double" in the stackmvc
index.jsp page. |
 | The double button invokes the Double command, which is implemented
by the DoubleCommand class. |
 | The double command takes the current contents of the stack and
doubles it. So, if the initial contents (from top to bottom) is
"1 2 3", then the result of doubling is "1 2 3 1 2
3". |
 | It is an error to try to double an empty stack, and you should print
an explanatory message. |
 | You must write a TestDoubleCommand junit/httpunit test. |
 | The assignment is due on Monday. |
 | Bring a printout of a screendump illustrating your program in
operation. |
|
Programming Assignment
(For Wednesday, March 13) |
 | Implement a web-based interface to your accountinfo class called
"accountinfoMVC.". |
 | You must divide up into new groups of two. |
 | Use the stackMVC system as a guideline. Your system should be a
client of an accountinfo.jar service. You may, of course, find that
you need to modify your accountinfo ADT in response to the new
requirements of the accountinfoMVC client. |
|