aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Comments please" Watch "Comments please" New topic
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: 11277
    
  59

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: http://aspose.com/file-tools
 
subject: Comments please
 
Similar Threads
what design patterns?
Please comment on FBN design
FBN : Exception in High level Data Interface
FBNS: Elegant design for client-side business classes
Overall Architecture