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.
hi, i am new to j2ee.. i hav one existing enterprise application. when it is build using ant script it creates an EAR file and gets deployed on the jboss server. i am writing a standalone java program inside the application only, in eclipse to access one EJB of my deployed application. I hav one framework running for my application. The interface class of the EJB extends the services of the framework. i wrote the following code to lookup the ejb say named - xyzEJB, which has a interface class xyz.
Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming rg.jnp.interfaces"); props.put(Context.PROVIDER_URL,"jnp://localhost:1099");