Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI-JRMP vs RMI-IIOP

 
Dom Miller
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

Could you confirm if the following (from a whizlabs solution) is true?

"RMI-JRMP should out perform RMI-IIOP because RMI-JRMP simply moves state, whilst RMI-IIOP moves entire objects over the network."

I'm sure I'd seen this the other way around before?

Thanks,
Dom
 
David Follow
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Don,

hmm, I thing JRMP outperforms IIOP because IIOP transports
lots more information like transaction information etc.
I think I read somewhere that IIOP cannot move entire objects but only state.
But I may also not recall ccorrectly.

D.
 
KH Tsui
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dom,

From the book SCEA for J2EE Technology Study Guide, it mentions that

"Because JRMP is the native protocol for RMI and does not have to support a myriad of different host data formats and byte ordering, there is less overhead in setting up the argument and return values for a call over JRMP than with language neutral systems, such as IIOP. Used correctly, this can result in higher performance."

"IIOP moves state for arguments and return values of method calls.
� JRMP moves state and behavior (whole objects) for arguments, return values, and exceptions in method calls.
� JRMP is a native Java technology protocol, so it has less overhead than protocols that have to perform format conversion."

Hope this could help

KH
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Leo Crawford described it nicely at:

http://www.leocrawford.org.uk/work/jcea/part1/protocols.html

-- Dan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic