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

Some RMI-IIOP qtns

 
Iyengar Srividya76
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends....
Can anyone explain me the following points ??
1) An RMI-IIOP client cannot necessarily access all existing CORBA objects
2) Can I operate RMI-IIOP through a Firewall?
Thanx,
Vidya
 
herve attia
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

1) An RMI-IIOP client cannot necessarily access all existing CORBA objects
It is related to the IDL mapping between CORBA object'IDL and RMI-IIOP java interface. Sometimes, you cannot have a corresponding mapping with old existing CORBA Object...a solution is JavaIDL.
You can obtain a correct mapping when you design a new distributed RMI-IIOP object, you can generate the IDL from the the RMI-IIOP interface and you can implement a Corba object from these IDL.
So, the RMI-IIOP client won't have any problems to access the Corba object.
2) Can I operate RMI-IIOP through a Firewall?
it depends of the Firewall filtering configuration. If the firewall lets only HTTP, HTTPS go through.....IIOP won't work !!
you have to use some http tunnelling solution.....
These question has been asked a the exam.
herve
Thanx,
Vidya[/B]
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

2) Can I operate RMI-IIOP through a Firewall?
it depends of the Firewall filtering configuration. If the firewall lets only HTTP, HTTPS go through.....IIOP won't work !!

The answer is Yes you can operate RMI-IIOP through the firewall. But as said above this depends if the firewall is configured to open one port to allow the RMI-IIOP traffic to go through. Normally HTTP and HTTPS ports are available through any firewall. However you have to configure the firewall to allow any other protocol through.
Rahul.
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how http tunneling works? I gather the rmi iiop protocol is someone embedded in the http msg, correct?
thanks,
Max Tomlinson
 
Suresh Gnanasekaran
Greenhorn
Posts: 12
 
Max Tomlinson
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suresh-
Thanks for the link. Interesting stuff. I have another question:
it seems that the overall design is to use HTTP protocol to mimic HTTP so as to get through the firewall. Once that is done, I assume I can do anything underneath? RMI, etc?
thanks,
max
 
Suresh Gnanasekaran
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Max,
You are correct. See this link also.
http://java.sun.com/products/jdk/1.2/docs/guide/rmi/spec/rmi-arch.doc11.html
Thanks
 
Iyengar Srividya76
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanx guys for the explanation !!
Vidya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic