Name: mf23781 Date: 04/27/98
Current 1.2 betas do not allow the use of RMI custom sockets
from an applet, without having to install stuff on the client
machine. You lose much of the applet benefit having to do that.
In JDK1.2 (Beta3) there is an option to replace the RMI sockets
from an applet (see http://java.sun.com/products/jdk/1.2/docs/guide/rmi/flexibleLookup.html
). However:"...you can use your custom socket factory in an applet, as long as thatfactory has been installed locally on the applet client machine, in
the CLASSPATH of the JVM in which the applet is executing."
The real solution that's needed is to enable the custom RMISocketFactory class
to come from the server with the rest of the applet's classes.
There should be no security problem, as the restriction on connecting
only to the applet's server will be checked anyway by the
SecurityManager checkConnect when creating the actual socket.
This is effectively a showstopper for some IBM projects.
If it is not fixed, they will either not use RMI or not use Java.
======================================================================
- duplicates
-
JDK-4127826 need to download socket factories for use with custom socket types
-
- Closed
-