This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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!