-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Sauer
Sent: November 17, 1999 5:25 AM
To: [EMAIL PROTECTED]
Subject: Re: Remote Interface Question
> Anyway, I
> guess the best way would to provide an interface that both the remote
> interface and bean class would implement.
That's right.
There is one often overlooked issue with this approach though.
The business methods in the remote interface must all throw
RemoteException per EJB spec, but the implementation doesn't have to.
Except when you use this pattern, now the impl implements the business
interface and must all of a sudden also throw the RemoteException
and it cannot throw exceptions not specified in the business interface.
Frank
[ALC] Finally, a good point. A language deficiency in Java that you'd have
to use patterns to get around.
===========================================================================
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".