Walden University Implementing Multiple Views in the MVC Pattern Paper
Description
For this Assignment, you update WERS based on a new user requirement.
Users of WERS have requested an additional way of viewing information. In addition to the existing view of the emergency data, they want an administrative overview of all emergencies and the proposed responses.
Use the Observer interface and the Observable
subclass in Java to extend the current MVC implementation by adding a new View to handle this additional requirement.
The user interface portion of this task already exists as the class AdminView
. Your task is to complete the information gathering and communication between this view and the model. You need to gather the required information in the model so that it notifies views (including the new AdminView
) as needed. You also need to make additional changes so that the system can handle additional views. These changes should include either adding a new controller or extending the current one to notify AdminView
.
Make sure to confirm that you have implemented this successfully by inputting information in one or both of the views and watching the information update in the open AdminView
. You can do this by running the scenario TwoViewAdmin to test your work.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."