File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Comments please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Comments please" Watch "Comments please" New topic

Comments please

badarinath gururaj

Joined: May 25, 2003
Posts: 5
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
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11776

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
I agree. Here's the link:
subject: Comments please
It's not a secret anymore!