You call EJBContext.getEJBObject
-----Original Message-----
From: Sachin Aggarwal [SMTP:[EMAIL PROTECTED]]
Sent: Friday, October 29, 1999 11:46 AM
To: [EMAIL PROTECTED]
Subject: How to get a reference to it's remote interface
from within an e ntity bean.
How does one get a reference to it's remote interface from within an
bean.
This is required if an entity bean needs to pass itself around and
the
method signature receives the remote interface.
I heard there's something like deref in corba - is there something
like this
in EJB ?
A simple cast doesn't work as the beans don't implement the remote
interface
- only the generated BeanImpl classes do.
There is the issue of re-entrance when passing a bean around - but
that's a
seperate discussion and I'd like to leave that aside for now.
Sachin.
===========================================================================
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".
===========================================================================
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".