Hi Mohammad,
Yes I tried the looking up with following naming schemes:
Bean name, business interface name, <bean name> + Remote, <business
interface name> + remote
It seems mailing list mail server wont allow the attachments Can I send
it to your private mail id?
I posted this to dev list because I contributing these examples to the
OpenEJB and thought it would be more relevant to the dev list.
Thanks,
Raj
Mohammad Nour El-Din wrote:
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