You can extend multiple interfaces which is the case here.

> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 12:26 PM
> To: jBoss
> Subject: Re: [jBoss-User] Re: Legal RMI Types and ejbCreate
> 
> 
> An interface can extend mulitple interfaces. Classes cannot 
> extend more than one
> class.
> 
> ----- Original Message ----- 
> From: "Steve Stearns" <[EMAIL PROTECTED]>
> To: "jBoss" <[EMAIL PROTECTED]>
> Sent: Friday, January 19, 2001 9:14 AM
> Subject: Re: [jBoss-User] Re: Legal RMI Types and ejbCreate
> 
> 
> > > It sure looks like everything is OK since public 
> interface Category extends
> > > EJBObject and EJBObject is serializable. Often the 
> problem is that the
> > > method arguments don't implement java.io.Serializable. 
> Try explicitly making
> > > Category extend java.io.Serializable as well. 
> > > 
> > Java doesn't permit classes to extend more than one class.  Since 
> > Category is already extending EJBObject, I cannot also have 
> it extend 
> > Serializable.  Also, since Category is itself an Interface 
> I cannot have 
> > it implement the Serializable interface.
> > 
> > ---Steve
> > 
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to