In my view, neither the rmi-iiop rules nor the ejb specification prohibits
remote interface inheritance. Therefore J2EE should provide it (i have not
actually tested this on J2EE!).
-Anurag
>From: Laird Nelson <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Inheriting remote interfaces
>Date: Tue, 15 Feb 2000 11:51:08 -0500
>
>Interface inheritance, as we've been over and over again in this list,
>is allowed.
>
>From the specification, page 81:
>
> "The remote interface is allowed to have superinterfaces. Use of
>interface
> inheritance is subject to the RMI/IIOP rules for the definition of
>remote
> interfaces."
>
>Fine.
>
>Additionally, from the same page:
>
> "The [remote] interface must extend the javax.ejb.EJBObject
>interface."
>
>The reference implementation of J2EE apparently takes this to mean that
>the following is illegal:
>
> public interface Simple extends EJBObject...
> public interface MoreComplicated extends Simple...
>
>MoreComplicated will not be deployed by the deployment tools because
>they claim it does not implement EJBObject. But it does, using standard
>Java rules for interface inheritance.
>
>IMNSHO, the inheritance above is in compliance with the specification.
>Consequently, I plan on filing this as a reference implementation bug,
>but before I do: is this one of the "RMI/IIOP rules for the definition
>of remote interfaces" (I doubt it strongly)?
>
>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".
>
______________________________________________________
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".