Hi,
How to pass a ejb reference to another EJB.
Regards
Samy
-
Ejb reference (2 messages)
- Posted by: samy mohan
- Posted on: September 17 2004 06:51 EDT
Threaded Messages (2)
- Ejb reference by Arun Nair on September 20 2004 05:32 EDT
- Ejb reference by sai kiran on September 21 2004 09:57 EDT
-
Ejb reference[ Go to top ]
- Posted by: Arun Nair
- Posted on: September 20 2004 05:32 EDT
- in response to samy mohan
If both are local then you could pass as argument. But I wouldn't do that because if I wanted to expose any one of that bean as remote (later stage) then I will have to change the signature, which is not really a good idea. (but its doable).
Why dont we think of creating a VO and pass it as such, unless you have some specific and good reason to pass ejb itself. -
Ejb reference[ Go to top ]
- Posted by: sai kiran
- Posted on: September 21 2004 09:57 EDT
- in response to Arun Nair
I dont know if this helps or not but.. u can lookup for the reference of one EJB in another using JNDI.