I have successfully run the Interest client unchannged , but I want to lookup the Interest home using "java:comp/env/ejb/Interest".
If I just change the name from interest/Interest to java:comp/env/ejb/Interest, I get an exception thrown with something like "comp not bound".
I have tried setting the properties with :
props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); props.setProperty("java.naming.provider.url","localhost"); props.setProperty("java.naming.factory.url.pkgs","org.jnp.interfaces");
but still no luck.
Any ideas, or does JBoss not support this from clients?