·Scenario & Setup
·Model Part 1
·View Part 1
·Controller Part 1
·Model Part 2
·Controller Part 2
·View Part 2
·Testing & Wrap Up
Controller Part 1Homepage « Case Study « Controller Part 1
In this section of the case study we do the first part of our controller code by creating an exception class for our services and the Services and RemoteServices interfaces.
Whether accessing the Manufacturer file locally or remotely problems can arise using I/O and we can also have problems with remote access. So we need to catch and pass back exception information to the GUI users about exceptions that are not covered elsewhere within the code. In this lesson we will create a ServicesException class to handle exceptions thrown when using our services.
We will need to seamlessly connect local or remote clients to a Manufacturer file a user has chosen and to do this we will need two interfaces that connect locally which we will call Services and remotely which we will call RemoteServices. The interfaces will need to include the stocking, unstocking and search functionality requested by the stakeholder Stocking Goods Limited. In this lesson we create the interfaces and methods required.
<< View part 1 - Startup & Run Mode Options Services Exception >>
All the Controller Part 1 lessons are listed below. Click a link to go to that lesson.
Controller Part 1