Hi, Andras Nemeth, for your question:
Could you write a bit about your General Consideration and Documentation, inasmuch as you got maximum points on them.
General Considerations includes three areas: 1) ease of use; 2)coding standards and readibility; 3) clarify and Maintainability of the design and implementation. You must following the
Java code styles to satisfy 2). 1) and 3) relate to your program structure and design.
My program structure as following:
- use RMI
- directly modify Data.java file instead of subclassing it.
- on the server side, use adapater pattern to generate one instance of Data object and put it into RMI registry.
- on the client side, use factory pattern to code a DataClient.java class. It enbles clients to assess the local db.db file or network db.db file with the same method signature.
- use adapter pattern code a business layer bewteen GUI and DataClient.java. This business layer seperates businness logic from GUI.
- In GUI, use Command pattern. This pattern seperates the GUI objects from their corresponding actions. This will make code maintainence much easier.
- Use JTable to display the data. I use AbstarctTable Model to build this JTable.
For Documentaion, it is a great pain. I spent amlost one week to finish documentsation. You must provides user documentation, javadoc files, and comments according to the exam specification. One thing I think is important. You must provide a clear, concise and readable README.txt file. Even you do not do very well in other portions of documentation, having a good README.TXT will do youself a great flavor.