Hi everyone...
Im quite desperate trying to enable a JNDI lookup for several days now.
I have a signed applet contacting a stateful session bean.
Since Applets are only allowed to load code from the machine they came from the specific code is like:
Properties props = System.getProperties(); props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory" ); props.setProperty("java.naming.provider.url", this.getCodeBase().getHost()); GTCSessionHome home = (GTCSessionHome) PortableRemoteObject.narrow(new InitialContext(props).lookup("GTCSession"),GTCSessionHome.class);