| Author |
Comments please
|
badarinath gururaj
Greenhorn
Joined: May 25, 2003
Posts: 5
|
|
Hi all, I am ready to upload the assignment. Here is the top level design of my submission. DB -- DataInterface - interface with all the public methods of Data DataAdapter - implements DataInterface and provides methods for locking, unlocking and getting the details for combobox on the GUI. Modifies the modify() method for the sequence read-lock-modify-unolck. lock and unlock methods will lock and unlock the whole database if passed the argument -1. Data- deprecated methods corrected and criteriaFind method added Server ------ RemoteInterface - implements DataInterface and Remote RemoteDataClient - implements RemoteInterface, has an instance of DataAdapter and calls all the methods on it RemoreDataServer - Server invoked from the command line, can run on any port Client ------ ApplicationRunner - Class with the main method to invoke main application gui MainWindowMask - Main window class with both view and controller combined. Starts with a dialog to confirm the mode of connection. Simple gui with 3 combo boxes for search criteria. Extends Observer MainWindowModel - Model for teh MainwindiMask. Has an instanc of DataClient and supporting methods. Implements Observable DataClient - implements DataInterface, takes care of the connection and works on the instance of DataInterface DataTableModel - Table model for JTable on the main window Please comment on the Design Thanks and regards badari
|
 |
Andrew Monkhouse
author and jackaroo
Marshal Commander
Joined: Mar 28, 2003
Posts: 10824
|
|
Hi Badari Please see my comments in this thread regarding having lock called from within client code. Other than that, this looks OK to me. Regards, Andrew
|
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
|
 |
 |
|
|
subject: Comments please
|
|
|