Sorry Jose, I missed the beginning of this thread. Obviously you know about
section 6.10.4 already. The reason why I think this is forbidden is because
a container could implement the EJBObject interface extending the provided
Bean class. Not really a good idea but the possibility is there. If we allow
a business method to be declared final, we are forcing the EJBObject to
delegate in the bean instance, (that is what most containers are doing, btw)
Cheers
Jose
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jose Gonzalez Gomez
> Sent: Friday, November 10, 2000 3:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: Cannot inherit methods ... ?
>
>
> So there shouldn't be a problem to declare bussines
> methods as final, as
> this methods shouldn't be overwritten by the container, just
> called... am I
> right??
>
> Regards
> Jose
>
> -----Mensaje original-----
> De: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]En nombre de Wong Kok Wai
> Enviado el: viernes, 10 de noviembre de 2000 10:31
> Para: [EMAIL PROTECTED]
> Asunto: Re: AW: Cannot inherit methods ... ?
>
>
> Jose Gonzalez Gomez wrote:
>
> >
> > Another question... the spec states no EntityBean should be
> declared
> > final... any reason for this????
>
> I believe the reason is to allow vendors to implement CMP by generating a
> subclass
> of type BMP. Which is also the reason why in EJB 1.1, CMP returns the PK
> like BMP in
> the ejbCreate method.
>
> ==================================================================
> =========
> 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".
>
> ==================================================================
> =========
> 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".
>
===========================================================================
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".