I think the two marks that i lost were because my javadoc comments were not very detailed. I thought that if i kept the comments to a minimum, it would be easier to read tjhe source. I used a very simple and basic approach throughout the assignment, so i thought that most of the things were self-explanatory. But i was wrong!
This is my basic structure of the application:
suncertify.db
DataInterface - containing all public methods in Data
Data - implements DataInterface
DataInfo
FieldInfo
Parser - to parse search arguments from client
suncertify.dbserver
RemoteInterface - extends DataInterface and Remote, no methods defined.
ServerInterface - extends Remote, single method for returning unique Connection objects to each client
Connection - implements RemoteInterface, simply redirects all the database calls from client to the server
Server - implements ServerInterface, starts the RMI registry and binds itself.
suncertify.dbclient
About - about dialog
Client - the gui
Help - help frame
LockThread - seperate
thread for booking seats
PriceSorter - to sort the prices in the combo box read from the database
Resources - contains names of all resources such as images
SplashScreen - splash screen
TableStructure - the table model