Entity references


EJB design: Entity references

  1. Entity references (3 messages)

    I would like a client program be the only one that access a entity bean. Does anybody know how to do that?

    Threaded Messages (3)

  2. Entity references[ Go to top ]

    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?
  3. Entity references[ Go to top ]


    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.
  4. Entity references[ Go to top ]

    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