Anyone know the right way to get EJB objects from an EJB container on another machine? I have tried creating the hashtable of props for client jndi, and that seems to help. But every time I try to access an EJB, it tells me XXX not bound. In my web-inf/web.xml, I have:
Trying to use Resin for web tier and JBoss for mid tier and having no luck getting EJB references.
Any help would be appreciated.
Back to top
All you have to do is to look at the jndi context of the server which has ur EJBs.
You can create a hashtable with your EJB server's jndi properties and create a InitialContext out of it.
Then lookup the bean from this context