1. I presume, both ClientSocketFactory and ServerSocketFactory will be created in the server side only.But the when I export an object using these socket factories and I try to obtain a handle for the same from the client side , inturn the ClientSocketFactory which is created in the server side creates a socket which is used for RMI communication with the server. But the missing point is how does this happen? How does the client know that this particular remote object has a SocketFactory associated with it? I have not been able to deduce this part .
2. Have you done some kind of testing to ensure that if objects are exported using socket factories , one can do a Naming.lookup on the object from Java Webstart client connected to the server in https mode via proxy? If yes, can you please elaborate a little more on your findings.