Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

structure of certification program

 
David George
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
client --- GUI , Model(Interface) , View(Interface) , Controller(Interface) , ModelImpl , ViewImpl , ControllerImpl , LocalDataOperation(access data from suncertify.db.Data . )

network --- RMIClient , RMIServer , RemoteInterface

server ---- Server

suncertify.db --- Data (implements DBMain) ,
DBMain(get from sun) , DBHeader(database header information) , FieldInfo (imformation of field) , Record , RecordLock
,RecordNotFoundException , DuplicateKeyException .

sun requests that the program should be 3 key parts (client,server,network). I don't know if my program structure meats the request , and is there any problem with my packages and classes?
Wait for your opinion . Yours David . Thank you .

[ September 05, 2005: Message edited by: David George ]
[ September 05, 2005: Message edited by: David George ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11943
212
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

If I am reading this correctly, you have a LocalDataOperation class in the client package, but the equivalent RMI class (RMIClient?) is in the network package.

Personally I think this might be a bit confusing for somebody trying to maintain this code. In my mind, either these two classes should both be in the client package, or the LocalDataOperation class should be in the db package.

It also looks like you have used the provided "suncertify.db" package, but then started your own namespace with the "client" package. I think it would be better to keep the same top level namespace throughout - that is, "suncertify.client" package.

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic