Case Study – Controller Part 1

·

·Case Study
·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.
Services Exception
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.
Services Interfaces
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  >>
 Homepage  Top
All the Controller Part 1 lessons are listed below. Click a link to go to that lesson.

Controller Part 1
Services Exception
Services Interfaces
 

Aly Chiman

Aly Chiman is a Blogger & Reporter at AlyChiTech.com which covers a wide variety of topics from local news from digital world fashion and beauty . AlyChiTech covers the top notch content from the around the world covering a wide variety of topics. Aly is currently studying BS Mass Communication at University.

Leave a Reply

Your email address will not be published.