Hello Jonas Folks! We have a very urgent problem - how to set up a secure connection between our Applet and the Jonas server. The way we thougt to go is by using SocketFactories for the RMI communication, but now I'm at a point where I do not no how to go any further. On the Server Side it seems simple. Where I start the Registry, I use LocateRegistry.createRegistry( int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf); and set my own SocketFactory. But what to do on the client side? I only have the code where I get my InitialContext Properties env = System.getProperties(); env.put("java.naming.factory.initial", "com.sun.jndi.rmi.registry.RegistryContextFactory"); try { initialContext = new InitialContext(env); } catch (Exception e) { System.err.println("Cannot get initial context for JNDI: " + e); } And using the InitialContext I use initialContext.lookup("MyBean"); to get the beans. So where is the magic point where I can set my SocketFactory for the Client, using LocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf); Is this the right way to go, or did I somthing completly stupid? Any help is very welcome!!! Thanks, Max PS. We are using Jonas 2.0 ---- To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe jonas-users". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".