I was looking for some example about how to recover a jndi context in jboss from a web server running in a different point in the network, the standard lookup:
InitialContext jndiContext = new InitialContext();
does not do the work as we need to pass at least the ip of the server where the ejb is in, all the examples about jboss I´ve seen does in this standard way, could someone please clarify things for me about it.
PS-I´ve worked with BEA´s WebLogic and there was a standard getInitialContext provided as the book from Monson Haefel mention, what´s the code for the standard getInitialContext for JBoss.
thanks in advance.
I´ve solve the problem just did:
Properties env = new Properties();
InitialContext jndiContext = new InitialContext(env);