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".