GUI >> Controller( TableModel& ComboboxModel <Mis-spelt earlier> As Inner classes) >> FlightFacadeModel >> DataClient ----->etc
As Per Sun's Specs, i think we need to have an implementation of all the public methods of DataAcess interface on the client side,that is what i am doing in the DataClient class.
That is right, the DataClient is the implementation class of the DataAccess interface. One DataClient is for local, and one for Remote.
I dont have two implementations of DataClient as you have suggested.I have just made use of a factoryclass for providing a reference to Data or RemoteData as per user inputs.My DataClient is acting as DataAccessLocal & DataAccessRemote as per choices made.Is it all right to go this way.
As the model receives the response of request sent to DataClient,it is made available to controller by default as it has a reference to model.Controller in turn updates table model,which updates view.