Hi,
We are writing an application that uses some Entity Beans - but these EJBs
are not known before hand and hence client jar for these beans is not
available in the classpath. What I need to do is given the details needed
to perform a JNDI lookup, I need to get the home interface - (a reference of
type EJBHome is sufficient at this stage) and get the EJBMetaData for that
bean.
When a new client jar is available, I am loading it using the URLClassLoader
and am able to load the classes and I have a class object for the home
interface loaded through the URLClassLoader. But my JNDI lookup fails if the
client jar is not in the classpath. It appears to me that although a class
is loaded using the URLClassLoader, and the System is still not aware of the
existence of this class.
How can I perform a lookup for an object of a type that is being loaded
using a URLClassLoader?
Thanks in advance,
Chakravarthy
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".