RMI(Java) and Remoting(C#) difference!
843793Jun 29 2005 — edited Jul 1 2005Hi to all,
I can now say that I ave a (very) basic knowledge of both RMI and Remoting. In theory they both work in the same way, and the coding is not similar, but easy to understand from one language to another.
However I found a main difference in the advanteges that RMI says it has, and Remoting (through COM+) says it has. In school I had to write whole documentations on how Remoting supports object pooling, that is, the server side application loads several instances of the object in memory, so that the client does not take very long to access the object. However in Java, it has activation, that is, the object is only loaded when the client needs it. This for sure makes the server use less resources (or so it seems), but the client will take longer to access that object!
So which one of these two is best?