• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI-JRMP vs RMI-IIOP

 
Andres Olarte
Ranch Hand
Posts: 46
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at one of the questions from the EPracticeLabs mocks, it asked if RMI-JRMP or RMI-IIOP could provide better performance. The answer said that RMI-IIOP was faster, since it only transferred the values of the object, not the behavior. My understanding was that while JRMP could transfer the class (the behavior) this only happened only when needed (which I assumed would be at the most once per class) and that the lack of overhead made it faster. What do you guys think?

On a related note, I understand the standard is now to use RMI-IIOP between EJB layers due to better compatibility, as mentioned in this article. Is this correct for Java EE 6?

Thanks,

Andres
 
Tom Jos
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also assumed RMI-JRMP is faster as there is no overhead compared to IIOP(In allens book it mentioned about extra overhead on IIOP compared JRMP).

Epractice says RMI-IIOP is faster than RMI-JRMP ... is that correct?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!