Exercise: Rebuilding the InfoTool Code
Objetives
In this exercise, you add the missing MVC interaction code to the modified InfoTool classes.
Tasks:
Complete the following steps
- Form teams made of two students
- Examine the following modified (broken) InfoTool source files located in the exercises/mod02_mvc directory
- InfoModel.java
- InfoView.java
- InfoController.java
- InfoTool.java
- Use the material presented in "Demonstrating MVC in the InfoTool
Application" on page 2-7 to add the missing method invocations to the
MVC participants. Use the sequence diagram contained in figure 2-9 on
page 2-14
To assist you, additional hints are supplied as comments in the source code of the files listed in step 2.
- Test your work by executing the InfoTool application