Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

URLybird 1.1.2

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am about to finish coding my assignment. I have quitely reading this forum for over a week. I have learned a lot from all these posts. Thank you all for this great forum.

But I got some confusion too from the reading.
It is about the overal design.

Here is my design I followed the sample in Max's book)
Could somebody offer me some feedback with regard to the confirmity to the SUN's requirements.

gui.ApplicationRunner
-the main executable class to start

gui.MainWindow
- the view of the GUI's MVC pattern

gui.GUIController
- the model in the GUI's MVC pattern
- has a DBAdapther instance

rmi.HotelDatabaseRemote
- a Remote interface that extends DBAdapter

rmi.HotelDatabaseImpl
- the server side implementation of HotelDatabaseRemote, has
a DBAdapter object

db.Data
- implemtents the DB interface
- provides low level file access and locking facilities

db.DB
- the interface provided by Sun

db.DBAdapter
- the interface with the same methods as DB , just add RemoteException
db.DBAdapterImpl
- implement the DBAdapter inferace
- provides data access to the server and the stand alone client
 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic