Re: Encrypted RMI in JDK < 1.2

New Message Reply About this list Date view Thread view Subject view Author view

Bill Frantz (frantz@communities.com)
Wed, 21 Oct 1998 13:17:07 -0700


At 08:45 PM 10/21/98 +0100, Ben Laurie wrote:
>Bill Frantz wrote:
>>
>> Benjamin Grosman <bgrosman@healey.com.au> asked:
>> >Hi All,
>> >
>> >Anyone ever done the above? If so, did you use SSL, or something else, and
>> >how did you do it?
>> >
>> >Any help appreciated ... Please CC me.
>>
>> You can use the java.rmi.server.RMISocketFactory.setSocketFactory call to
>> set up your own socket factory. My understanding is that people have used
>> this mechanism to use SSL. Note that the reported remote call times are on
>> the order of 20 seconds. This might be due the fact that a remote call
>> with RMI seems to require building at least 3 sockets, with the attendant
>> SSL setup overhead.
>
>If you don't do session caching, that is :-)

I'm not sure that helps. What I see in my tests running with Java 1.1.6
(RMI in earlier levels of Java doesn't reliably shut down its sockets.) is:

One connection from client to server's registry listen port (1099)
One connection from client to server's object listen port (dynamic)
Second connection from client to server's registry listen port

These 3 connections are all active at the same time.


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Sat Apr 10 1999 - 01:15:22