Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMI(Java) and Remoting(C#) difference!

843793Jun 29 2005 — edited Jul 1 2005
Hi 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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2005
Added on Jun 29 2005
11 comments
841 views