Hi, I'm brand new here looking for some great idea's and while browsing I saw your questions. Some of them look pretty easy to answer so I just registered myself to do so...
Your question:
1) Have the server have a option to specify the database file location, right?
Answer:
You better should read the instructions on this: I guess
you should hold the databasename and hostname and portnumber in a properties file called suncertify.properties. The values must never be edited by hand but always through the gui you create.
Your question:
2) In the client side, one record is booked when the field "customer" has a not blank value. So, a booked record cannot be booked by another client, right?
Answer:
Right!
Your question:
3) In the client side, one record is booked when the field "customer" has a not blank value. What are you putting in this field?
Answer:
The instruction file tells you the answer: you can assume the user to know the clients' ID which must be used to fill the "owner" (that's the name in MY file, maybe it's different from your?) field.
Your question:
4) In the client side, one record is booked when the field "customer" has a not blank value. I have to provide a "unbook" method?
Answer:
Imagine you are the user! Shouldn't you want to be able and correct a wrong chosen room for reservation? Or imagine a client that has booked a room, but decides to cancel it again? I should say: yes, you need to have a way to unbook!
Your question:
5) I think that the "unbook" method is different from the "delete" method. The first could be released and used by several clients, the last makes the record available as "slot" to new records.
Answer:
I agree!
Your question:
6) The assignment do not say nothing about it, I have to provide a implementation of the "create" method in the client GUI? I implemented it in the "Data" class.
Answer:
I guess you should do the implementation just as you did (in the Data class) and simply USE it from your GUI...