Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4132658

Use of RMI custom sockets from an applet requires installation on client machine

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic



      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.


      ======================================================================

            Unassigned Unassigned
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: