-
I would like a client program be the only one that access a entity bean. Does anybody know how to do that?
-
Why would you want to do this?
Entity beans are designed to be multiple client friendly.
Stateful Session Beans are meant for stateful client conversations. So, why do you think you need this functionality?
-
Hi,
Thanks for your response. What i wanted to do is to control the simultaneous acces to an entity. It's the problem the eternal problem of readers and writers. I don't want that two writers can modify the same object.
I know now how I can solve my problem by using timestamp for example.
-
there are two ways to do what you want,
first is u can define a static javabean in you jsp server ,or factory pattern to do that ,and this javabean call the entity,so u can control the access in this javabean
another is db design,u can make a mark to sign the access