File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes distinguish the client in Lock() 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 "distinguish the client in Lock()" Watch "distinguish the client in Lock()" New topic

distinguish the client in Lock()

Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
I have tracked a lot of thread here about the clientID. Why don't use the RemoteDataAccess directly? I think every client will produce the different RemoteDataAccess.
PS: I have ConnectFactory which will return the new RemoteDataAccess object for every client.
Ying Ren
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Yes that object can be used as a ClientID, and if you will read about some of the posts on LockManager, that is exactly what they pass to its lock method, is the record number and the RemoetDataAccess class.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: distinguish the client in Lock()
It's not a secret anymore!