Hi,
We managed have a rather limited form of polymorphism with SBs, and it has
been tried and tested with no problems so far. Conceptually,
(1) AnimalHome and Animal are the only home and remote interfaces. The
signatures of the polymorphic methods are in Animal.
(2) AnimalBean is the base implementation bean
(3) TigerBean and LionBean extends from AnimalBean. They may implement
different behaviours for the methods in Animal.
(4) Deploy Tiger and Lion beans, specifying AnimalHome and Animal as their
home and remote interfaces. But of course, Tiger and Lion should have
different lookup names.
Is this form of polymorphism sufficient for you?
Regards,
Daniel Chong.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
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".