Hi Mingwei,
I have a question concerning the function of my application,the DB interface in my assignment has create() and delete() methods.But the user interface I think only has the find and book function(There's no rights for the end user to create or delete a record from the database I think).So when and where create() and delete() methods can be used?(On the server side? May be on the server side GUI? But it is not required.)
You do not need to think that much. In fact, in my implementation, there is NO clients or system admin who will call the 2 methods.
So, what you need to do is, implement the 2 methods,
test them, that's it. You do not need to provide these 2 methods to the client or anyone else.
Remember, you NEED to implement ALL methods define in SUN's interface class, but NOT ALL of them will be used. According to the insturctions, the only methods that will be invoked by the clients are BOOK() and SEARCH().
The instruction also mentions that, providing EXTRA functionality will not let you obtaining bonus point, but, marks will be deduced if error encountered in the extra functions.
Nick.
[ February 24, 2004: Message edited by: Nicholas Cheung ]
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)