Yes. They will receive a different stub into the same object.
2>Will all the clients have the same 'b' ?
Question is how will they ever get a reference to b? Your code doesn't show any way to access b unless class A holds a reference to it. Hope this helps, Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Joined: Aug 21, 2002
hi, I use the FactoryConnection class which has a mehtod named getConnection or something similar which returns an implementation of my remote Data interface(like return new RemoteAccess()). Could I get a unique object of the RemoteAccess? Is the getConnection of mine right?If not,please tell me how to do it.
Joined: Jan 30, 2002
Hi Ray, So long as your getConnection returns a new object (remote implementation) on every call then each client will have a unique connection.