Hi all.
I wrote a swing application that uses EJBs hosted in JBoss.
the client contains the following lines :
Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); properties.put(Context.PROVIDER_URL, "localhost:1099");
this properties are declared in the jndi.properties file, so if u have this file in the classpath, when you create a new InitialContext() object this are just setted.
bye