Hi, I am wondering if we are required to implement add() and delete() in the assignment. These methods are present in the Data class, but nothing is mentioned about them in the assignment. Did anyone implement adding and deleting of records? If so, this can actually not be done by any client which is not an administrator, otherwise the result would be desasterous. Thanks for your help. j denzel SCJP2
Joined: Jun 20, 2001
No, it is not required and i think i haven�t seen here any comment from anyone talking about an implementation for more than testing purposes. On my own my RemoteData maps calls from the client to these (add, delete) methods in Data class, but the client makes no request at all to these methods. Regards J. [ October 20, 2002: Message edited by: Jaun Katabasis ]
Joined: Sep 27, 2001
No, Implementation of add() and delete() methods are not mandatory, if you are willing to use that method in your application it is good enough, don't focus on locking the record while adding or deleating the records because it is not required. It will become more exhaustive for u you to implement, you will not get any extra score from that side. I hope this helps.