Hey

Richard Monson-Haefel wrote:
>
> EJB 1.1 Specification section 16.5 states the following:
>
> "The method-intf element allows to distinguish between a method with the
> same signature that is defined in both the home and remote interfaces."
>
> This implies that its OK to have "create" and "find" method names in the
> remote interfaces of beans. This has been bothering me for a while so I
> thought I would bring it up.  IMHO it would be better if the EJB
> specification prohibited the use of create and find method signatures in
> the remote interfaces.  It's confusing to have these methods in the
> remote interfaces because they have a defined meaning in the home
> interfaces.  I realize that it would be difficult to specify the
> semantics of such a restriction, but I think its important. I would not
> recommend using these method names in the remote interface of a bean.

I think the keywords here are "should" and "must". A bean "should not"
have such methods, but I see no compelling reason to extend this to
"must not". It is a matter of design, and obviously one would want to
avoid it as much as possible. But if, for some obscure reason, this is
not possible then I would want to have the possibility to do it.

Just my 2 cents..

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

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

Reply via email to