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 about modify method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "about modify method" Watch "about modify method" New topic
Author

about modify method

frank meng
Greenhorn

Joined: Jul 15, 2002
Posts: 19
hi,all.
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?
thx.


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.
Rama
[ November 07, 2002: Message edited by: Rama Ituarte ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about modify method