hello,

Would it be possible to have :

For the parent:
- interface ParentBusiness ....

- interface Parent extends EntityBean, ParentBusiness ...

For the child:
- interface ChildBusiness extends ParentBusiness ... (add methods...)

- interface Child extends ChildBusiness, ParentBusiness (my RI extends the
parent business AND parent Bean)

Any comment?

Cheers,



                                        Sacha


> -----Message d'origine-----
> De : A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]De la part de Christopher Cobb
> Envoye : mercredi, 31 janvier 2001 13:07
> A : [EMAIL PROTECTED]
> Objet : Re: Inheritance : Once Again:
>
>
> Whyy don't you take a step back and create 'pure business method'
> interfaces:
>
> interface PureParent {
>    void businessParent1() throws RemoteException;
>    void businessParent2() throws RemoteException;
> }
>
> Then have a child interface:
>
> interface PureChild extends PureParent {
>    void businessChild3() throws RemoteException;
>    void businessChild4() throws RemoteException;
> }
>
> Now set up a Parent RI and Parent bean which implements the PureParent
> interface.  And set up a Child RI and Child bean which implements
> the PureChild
> interface.
>

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