This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLybird 1.1.2

 
Tommy Wan
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic