This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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?
Have you checked out Aspose?
subject: EJB introspection
It's not a secret anymore!