[EMAIL PROTECTED] wrote:
> I do not know, how to downcast an EJB. If I have a BaseEJB and a DerivedEJB how
> can I downcast a BaseEJB to a DerivedEJB? Has anyone a solution?

You mean if you get back a collection of Person objects and you happen
to know that one of them is really a SmartPerson object how do you do
this downcast?

Answer: you cannot.  This is what is meant in the specification, I
*think*, by component inheritance.  You will note that it is not
supported.  This is a specification error, IMHO.

Cheers,
Laird

===========================================================================
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".

Reply via email to