This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hello all, I have two app servers on 2 different physical boxes. I need to get the InitialContext()for an EJB in order to do a lookup on the remote interface. I am using the Borland app server and cannot find any documentation on how get the context for an EJB which is not on the localhost. Any Ideas? Thanks.
We are using Weblogic, and hope this can be helpful too.
Properties p = new Properties(); p.put(Context.PROVIDER_URL,url); p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory); Context ctx = new InitialContext(p); ctx.lookup("JNDI_NAME");