This content has been marked as final.
Show 4 replies
-
1. Re: Local Inerfaces
lisegino Nov 13, 2002 3:34 PM (in response to davinci)Typo: Souldn't LocaMyBean be spelled "LocalMyBean"
-
2. Re: Local Inerfaces
davinci Nov 13, 2002 5:35 PM (in response to davinci)Yup! you are right. It was typo. But I did discover that
jboss.dtd (3.0) has an element called
<local-jndi-name/>. I am going to try specifying it
and see what happens. Hope this should work. -
3. Re: Local Inerfaces
davinci Nov 13, 2002 6:49 PM (in response to davinci)Yup!, you are right this is a typo. But I did discover that jboss.dtd has an element called <local-jndi-name/> that allows you to specify the jndi name of the local interface. I tried it and it works!!!.
-
4. Re: Local Inerfaces
cti_java Dec 15, 2002 10:07 AM (in response to davinci)I've tried your offer about the <local-jndi-name/> and as you said it works.
But I do the lookup like that: ctx.lookup ("MyEjbName");
and I want to it by:
ctx.lookup ("java:/comp/env/ejb/MyEjbName"); and it doesn't work this way.
What i'm missing??
Thanks.