GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes EJB introspection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB introspection" Watch "EJB introspection" New topic
Author

EJB introspection

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
I�ve got a EJB (EJB-A) with a business method (METHOD-1) that returns a reference to another EJB (EJB-B) remote interface ( returns a Handle, not a EJBObject ;-) ).
METHOD-1 has only one parameter (PARAM-1).
PARAM-1 is the JNDI name of EJB-B.
There are several possibilities about PARAM-1�s value (there are several possible EJB-B�s)...
How can I use Java reflection/introspection to create the apropiate EJB-B reference?
Thanx
 
GeeCON Prague 2014
 
subject: EJB introspection