Programming with TCP Remoting

The remoting infrastructure enables you to use different models of processing and activation. Let’s look at the different options available and how you can implement distributed systems using them. We’ll initially concentrate on remoting using the TCP channel and a custom server host process. In subsequent sections, we’ll look at the HTTP channel and discuss how to host remote objects in IIS.

Server-Activated Object Remoting

Server-activated object types must be registered with the host server application. We did this earlier using the static RegisterWellKnownServiceType method of the RemotingConfiguration class. An alternative to hard-coding the details of individual types and channels into the host server is to use ...

Get Microsoft® Visual J#™ .NET (Core Reference) 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.