File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

EJB introspection

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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?
I agree. Here's the link:
subject: EJB introspection
It's not a secret anymore!