-
how to call entity bean from a entity bean (2 messages)
- Posted by: Badri N
- Posted on: July 05 2002 05:24 EDT
i m begginer to ejb, can i call entity bean from another entity bean or session bean from entity bean.Threaded Messages (2)
- how to call entity bean from a entity bean by Thandaveswaran Venkatraman on July 05 2002 09:06 EDT
- how to call entity bean from a entity bean by Eric Morin on July 05 2002 09:18 EDT
-
how to call entity bean from a entity bean[ Go to top ]
- Posted by: Thandaveswaran Venkatraman
- Posted on: July 05 2002 09:06 EDT
- in response to Badri N
hi
u can call an entity bean from another bean through the ejbreferences set to the bean from the caller entity bean. U have to take care that u provide the reference in the descriptor for the calling entity bean from the caller bean. This is the same case with the session beans too. -
how to call entity bean from a entity bean[ Go to top ]
- Posted by: Eric Morin
- Posted on: July 05 2002 09:18 EDT
- in response to Badri N
The same way you call them from a client. The only diff is that you don't need to provide initialization parameters for JNDI. Just instanciate a default initial context.