> It will need to use reflection to get the find method and invoke it.

>No it doesn't. :-) The container could generate a class (during runtime)
>which calls the ejbFindByPrimaryKey-method. Since that technique relies
>on compile-time knowledge (i.e. the generated class uses the specific
>EntityBean) reflection is not necessary.

Yes. But but there could be containers that do not generate class at
deployment time. For them there is no other option but to use reflection
(crappy it may sound, but I guess the container will need to live with that)

>How do you define an "abstract" method in an interface??
Yep, my mistake :))

thanks

-saurabh

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