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

deprecate RMI Activation and the rmid tool for removal

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      RMI Activation is an add-on to RMI that allows lazy creation of RMI services. Ordinary RMI services require a server to exist in order to handle calls on a stub. An Activatable service need not have an active service at all times. If a service is not active, the Activation daemon (rmid) will lazily fork a subprocess to handle an incoming call.

      The Activation system is optional in Java SE. The Activation APIs are part of Java SE, but rmid and the options for configuring it are JDK-specific.

      RMI is not used much in general these days. RMI Activation is used for a small subset of RMI use cases, and as such is likely used very rarely. These use cases have been superseded by web services with load management systems that add or remove capacity on demand.

      In turn, Activation adds considerable complexity to RMI. There are a variety of special cases embedded in the RMI code to handle Activatable cases. It is also a frequent source of intermittent test failures because of the complexity of setup and teardown of the test fixture, including rmid, the service, and one or more clients. Most of the maintenance work on RMI Activation recently has been fixing up intermittent test failures.

      Removal of RMI Activation will reduce the public API surface area and maintenance load of the JDK.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smarks Stuart Marks
                Reporter:
                smarks Stuart Marks
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: