Hi Raj...

I am not very aware of how JNDI names are constructed for beans annotated by
@Remote, but did you try looking up the bean using its name only ??? and plz
attach the example files so I can help you more, and as friendly note, these
kinds of problems should be posted on the *user* mailing list
[email protected] :)



On 12/27/06, Raj Saini <[EMAIL PROTECTED]> wrote:

Hi,

I have written a EJB 3 example and trying to run it.

While running the test cases I have observed the following:

Business interface annotated with interface type (e.g. @Remote) , test
case passes.
Bean class is annotated with interface type (e.g. @Remote), test cases
fails and javax.naming.NameNotFoundException is thrown

In both the cases I have used the JNDI name String  in   "<Bean impl
class>+Business+ Remote"  format.

What is the convention used for JNDI name for the deployed beans?

Thanks,

Raj





--
Thanks
- Mohammad Nour

Reply via email to