• Post Reply Bookmark Topic Watch Topic
  • New Topic

Comments please  RSS feed

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am ready to upload the assignment. Here is the top level design of my submission.
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

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
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
author and jackaroo
Marshal Commander
Posts: 12167
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!