-
1. Re: local jndi name in the jboss.xml
adrian.brock Mar 18, 2004 9:07 AM (in response to cari34)Why have you bound the local and remote homes at the same jndi location?
Regards,
Adrian -
2. Re: local jndi name in the jboss.xml
cari34 Mar 20, 2004 2:33 AM (in response to cari34)Hi Adrian,
thank you for your reply.
My EJB has local and remote interfaces.
I do not know how to declare in the jboss.xml file
the jndi-name and the local-jndi-name for
the same EJB.
Do you have any sample of jboss.xml file
that handles this situation?
I have another question.
Could I use the same name as jndi-name and local-jndi-name
for an EJB?
I notice also that instead of getting a reference to the localHome Object
I get a reference to the home (remote) object, using the
standard way that ejb clients inside the server use i.e
default InitialContext and simple Java type casting.
Do you have any idea what could be wrong?
Thank you
Cari -
3. Re: local jndi name in the jboss.xml
adrian.brock Mar 20, 2004 9:16 AM (in response to cari34)No you cannot bind the remote and local home in the same place.
They are different objects.
Regards,
Adrian