Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Protocols Thumb rules - Clarify

 
Mani vannan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am preparing for SCEA part 1. I have studied Protocols chapter.

Here is my understanding of protocols. Please correct, If my points wrong.

1. Java uses IDL to communicate with CORBA.
2. CORBA clients use RMI-IIOP to communicate with Java.
3. If all systems are java based, RMI can be used.
4. If some systems are java based and some other systems are non-java, then RMI-IIOP should be used.

(please, correct above points, if anything wrong.)

I am still not clarified with my understanding. Please give some more thumb rules about RMI, RMI-IIOP.
 
chris zielinski
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Manivannan Palanichamy:

3. If all systems are java based, RMI can be used.


You have to distinguish between RMI-JRMP and RMI-IIOP

If all system are Java based, then it is recommended to use Java over JRMP (JRMP is the default protocol for RMI).

However if you have a mixture of Java and non-Java systems, then use RMI-IIOP as yo have correctly identified in #4
 
Mani vannan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi chris zielinski,
Thanks for you clarification.
 
Mani vannan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have sent you a private message. Please, check and reply.
 
Suresh patel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The general rule that is suggested by Sun is to use Java IDL when you are using Java to access existing CORBA resources, and RMI-IIOP to export RMI resources to CORBA.

http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=/com.ibm.java.doc.diagnostics.50/diag/understanding/orb_idl_rmiiiop.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic