permaculture playing cards*
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: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: distinguish the client in Lock()
Similar Threads
remote database close
trouble having ultiple LockManager instances
How to bind an object instanciated from an extended class ?
Design Opinion
NX: (Contractors) Interfaces and design question