posted 21 years ago
THANKS Mike,
Well the main design points in my implementation where :
* use of an Object to encapsulate data on flights. So I ahd a class which fields are the database fields. This makes it easy to manipulate the different record (comparing, looking for values ...) In the other hand, a change to the db structure will require subclassing or modifying this class.
* On server side, I opted for a 3 tiered server separating db Server (all operations manipulating the database) and application server (all client remote methods called directly from client). Helps to load ballance servers if needed.
* for crieteriaFind, implemented a 2 recurisive methods : 1st method selects all that match the 1st crieteria, and second method recursivelly remove all selected data that does not match other criteria. Quite long method as all fields are part of the if(){;}else if(){;} statement. Do you guys have a better algorithm ?
* I did not create any log file - not not know about jakarta Log4J at the time - but redirected debug and error messages to a Status Pane in client's GUI. The Logger class would have been usefull as I did use JDK 1.4 at the end !
So that's it,did loose a lot of points though.