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 ]
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.