Chapter 15. Remoting

.NET Remoting is the functional equivalent of the Java Remote Method Invocation (RMI) framework. Both systems allow applications to communicate between processes and machines, enabling objects in one application to manipulate objects in another. RMI was added to Java after the original release of the platform, while the remoting system in .NET has clearly been factored into the platform design from the start. The deep integration into the .NET Framework makes the remoting system easier to use than RMI. Some key differences are:

  • Remoting doesn’t rely on a registry to locate instances of remote classes. Services must be well known, implying that the client must know the location of the remote service at run time.

  • Remoting doesn’t ...

Get C# for Java Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.