[JBoss-user] [EJB/JBoss] - Re: Accessing EJB from a Java standalone app with main()

2004-07-09 Thread cspit
Great! Worked straight away... Thanks a million. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841587#3841587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841587

[JBoss-user] [EJB/JBoss] - Re: Accessing EJB from a Java standalone app with main()

2004-07-09 Thread nickman
cspit; When you access the JNDI context from a remote JVM, you need to provide a few extra parameters when you create the initial context. Example: Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | p.put(Context.PROVIDER_U