• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Comments please

Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12199
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
That is a really big piece of pie for such a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic