Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB introspection

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic