"Kenneth D. Litwak" wrote:
>
>   I've been told that inheritance is not applicable to EJBs, but I can't see
> why.  If I have a session bean that is a shopping cart, I see no particular
> reason Ic an';t subclas that to a special kind of shoppng cart.  If I have an
> entity bbean which represents a customer, I don'tsee any particular reason to
> not subclass that into multiple kinds of cusotmers.  What's the issue here?
> Thanks.

You have a remote interface and a bean class.  How can you make sure
that inheritance happens on both the remote interface "side" and the
bean class "side"?  You are correct that on either side you can inherit
as much as you like.

Incidentally, this is a BOF presentation that my colleague David Walend
and I are looking to present at JavaOne next year.  There are many
solutions to this problem; we (hopefully) will present one.

Cheers,
Laird

--
W: [EMAIL PROTECTED] / P: [EMAIL PROTECTED]
http://www.amherst.edu/~ljnelson/
Good, cheap, fast: pick two.

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