jQuery in Action, 3rd edition
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes about modify method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "about modify method" Watch "about modify method" New topic

about modify method

frank meng

Joined: Jul 15, 2002
Posts: 19
Do i need to include the modify method in my server interface? I think so.But i feel dilemma that should i modify the signature of it.
Because follow the golden rule of lock-write-unlock ,my modify method should be do the follow step: lock() ,db.modify(),unlock() .The question is all my lock method need a client connection id argument ,so i have to pass it to my modify method .As a result ,my modify method will be modify(DataInfo newData,ConnectionID cid).Does any one can tell me whether i misunderstand the meanings of instruction?

Certified for SCJP, SCJD, SCDJWS,SCEA and IBM 141- XML& Related Technologies
Rama Ituarte
Ranch Hand

Joined: Apr 10, 2002
Posts: 62
Why do you need to pass the client id to the modify method?
I think they are going to ask you to change your login name to your real name.
[ November 07, 2002: Message edited by: Rama Ituarte ]
I agree. Here's the link: http://aspose.com/file-tools
subject: about modify method
It's not a secret anymore!