I have a Java app which uses RMI calls on bound interfaces to create remoteable objects.

Paul Beadle

After further investigation, it appears that using the same socket factory rather than a new one for each remoteable object derived from UnicastRemoteObject ensures that RMI shares the SSL connection for all objects. Also, ensure that all socket factories implement the hashCode and equals methods to force correct cleanup.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.