## Uses of Class
java.rmi.server.RemoteStub

- Packages that use RemoteStub
  Package | Description
  --- | ---
  java.rmi.activation | Provides support for RMI Object Activation.
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
  javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.

- - ### Uses of RemoteStub in java.rmi.activation

    Subclasses of RemoteStub in java.rmi.activation
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ActivationGroup_Stub` | `ActivationGroup_Stub` is a stub class for the subclasses of `java.rmi.activation.ActivationGroup` that are exported as a `java.rmi.server.UnicastRemoteObject`.

  - ### Uses of RemoteStub in java.rmi.server

    Methods in java.rmi.server that return RemoteStub
    Modifier and Type | Method | Description
    --- | --- | ---
    `RemoteStub` | ServerRef.`exportObject​(Remote obj, Object data)` | Deprecated. Creates a client stub object for the supplied Remote object.
    `static RemoteStub` | UnicastRemoteObject.`exportObject​(Remote obj)` | Deprecated. This method is deprecated because it supports only static stubs. Use `exportObject(Remote, port)` or `exportObject(Remote, port, csf, ssf)` instead.

    Methods in java.rmi.server with parameters of type RemoteStub
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected static void` | RemoteStub.`setRef​(RemoteStub stub, RemoteRef ref)` | Deprecated. No replacement. The `setRef` method was intended for setting the remote reference of a remote stub. This is unnecessary, since `RemoteStub`s can be created and initialized with a remote reference through use of the `RemoteStub(RemoteRef)` constructor.

  - ### Uses of RemoteStub in javax.management.remote.rmi

    Subclasses of RemoteStub in javax.management.remote.rmi
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `RMIConnectionImpl_Stub` |
    `class` | `RMIServerImpl_Stub` |