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.

Richard

--
Richard Monson-Haefel
Author of Enterprise JavaBeans
Published by O'Reilly & Associates
( http://www.monson-haefel.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".

Reply via email to