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

JRMP in EJB ??

 
E. Messing
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw a mock-test exam question that stated that it is possible to use JRMP as the transport of RMI when using EJB. I though the specification of J2EE clearly voted on IIOP... Is it possible to use JRMP ? Do we even control it ?
thanks
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following excerpts are from J2EE 1.3 spec -

This specification requires the J2EE platform to support the JRMP protocol, which is the Java technology-specific Remote Method Invocation (RMI) protocol. JRMP is a required component of J2SE and is one of two required RMI protocols. (IIOP is the other required RMI protocol, see above.)
JRMP is a distributed object model for the Java programming language.
Distributed systems, running in different address spaces and often on different hosts, must be able to communicate with each other. JRMP permits program-level objects in different address spaces to invoke remote objects using the semantics of the Java programming language object model.
JRMP is the Java technology-specific Remote Method Invocation (RMI) protocol. The J2EE security restrictions typically prevent all application component types except application clients from creating and exporting an RMI object, but all J2EE application component types can be clients of RMI objects.
 
E. Messing
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ajith !
So when i have 2 EJBs in 2 servers, and 1 is RMIing to the other, what transport does it use ? JRMP or IIOP ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic