RMI and corbr are two distributed network programming methods.
1. Rmi is easy to use. It only supports Java, and service expansion is okay.
2. corbr is complex and supports multiple platforms and languages, but the service expansion is insufficient.
COM/DCOM is a Distributed Component Technology launched by Microsoft. It only supports the Windows platform and has a broad market of Microsoft.
RMI ApplicationProgramAfter compilation, stub and skeleton are generated.
The stub acts as the proxy object of the client in a remote call.
The skeleton framework is responsible for implementing the called objects, that is, the objects required by the client for remote calls.
The implementation mechanism of corbr is basically the same as that of RMI.
Differences: 1. corbr relies on middleware orb as the transaction proxy and Object Request proxy to take charge of object requests and responses.
2. Both the server and client must implement the IDL Interface file, while IDL is a language used to define remote object interfaces. This shows that corbr supports multilingual features. The program first uses the idltojava compiler to compile the IDL file and generate the Java version interface. Colleagues generate six files, including stub and skeleton.