File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question about add() and delete() in Data class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question about add() and delete() in Data class" Watch "Question about add() and delete() in Data class" New topic
Author

Question about add() and delete() in Data class

jay denzel
Ranch Hand

Joined: Sep 18, 2002
Posts: 57
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
Juan Katabasis
Ranch Hand

Joined: Jun 20, 2001
Posts: 46
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 ]

Regards<br />J.
Anurag Mishra
Ranch Hand

Joined: Sep 27, 2001
Posts: 133
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.

Anurag Mishra
(SCJP,SCJD,OCP,IBM Certified,MBA,MIT)
jay denzel
Ranch Hand

Joined: Sep 18, 2002
Posts: 57
Thanks for your help.
jd
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about add() and delete() in Data class