Dear Andrew, Thank you so much for your very kind, and very excellent reply. Exactly, you give me the clear answer and encourage me by a long way. I feel very good now.
At first, I am sorry for the question 6. It puzzled me too, when I read it by myself. Maybe, my question should be described as follows:
I have no idear about the comment in each java file header. I have looked into some java file in the runtime libaray package. They just look like:
* @(#)Runme.java 1.1.1 2004-5-15
* Copyright (c) 2004 Sun Certification for Java Development.
* All Rights Reserved.
It's my choice about such comments. Is it OK?
So, I hope I can know the one candidate who took 6 years to complete his assignment. He must be a very brave man
And I will answer the four questions in "bullet point" format. It's easier for me.
About question 1. My decision is that: It does not allow the user to book a selected record, which have booked by one customer in the same GUI. It will throws exception message when the user try to book a selected record, which have booked by one customer in other program GUI. User can get the last booked record list by using Search All function.
About question 2. My decision is planing to implement the createRecord and deleteRecord method. Because I didn't have a good reason for this, and I don't want to finish my assignment as soon as possible again after I heard someone took 6 year to complete his assignment, also, I have get a new voucher for my essay exam which expired date is in November this year
But, if so, I think there must be some good tools for testing such method like createRecord and deleteRecord which will never be invoked by other object in URLyBird program. Would you like to give me some?
About question 3. It must make decision by myself, I think. And it's very hard to make a decision for such thing after I totally think about it (But it is easier than making a decision that which one should I marry to). But I didn't have decision about it now. I think I should analyse the original data in the assignment. I will post it as soon as I make a decision.
About question 4. The answer is clear now. Because the SecurityException be throws by some method already, and the java.lang.SecurityException is a runtime exception, no need to throws it.
About question 5. I just create a Service interface. It include Book & Search method. And there are two class implement it: ServiceImpl that maintain a Data object directly, and ServiceProxy that maintain a RemoteServiceImpl implemented by RMI which maintain a ServiceImpl instance, So ~~OhOh ~God
. In other words, client GUI just only need to interact with Service interface, when program mode is non-network, just create a ServiceImpl instance for GUI, when program mode is network, just create a ServiceProxy instance for GUI. Am I right? Am I clear?
And so, check the magic cookie value for validating a data file specified by user, is must option. And it's very important too.
By the way, I have more and more question later.