• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Of IIOP and RMI

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I've always come across the Internet Inter-Orb Protocol (IIOP) in EJB, but if I'm correct it's the most unknown albeit less understood protocol. Can we use RMI in its place, as firewalls are somewhat restrictive of IIOP?
Ex Animo Java!
-- Val
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By default, firewalls are restrictive of everything except HTTP/HTTPS. If you want to use any other protocol, you have to explicitly talk to your infrastructure people and have the appropriate ports open. JRMP and IIOP are same in this respect. Using JRMP because firewalls do not allow IIOP is not a good reason for using JRMP.
Howver, IIOP, because of it's open architecture and a big CORBA base, is more widely used than JRMP. That's why Sun provides RMI over IIOP as well.
BTW, RMI and IIOP are not comparable. RMI and CORBA are comparable.
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It seems always a big problem for java network protocols to go through fire wall. Open a port from a firewall is hard to get approved from security point of view for a company.
It seems that Java network protocols only designed for company internal communications for distributed applications. Am I right ?
Please correct me
Thanks
Ruilin
[This message has been edited by ruilin yang (edited December 13, 2001).]
 
Val Pecaoco
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks guys.
Actually in a handful of texts and online articles I've read that a good security design is to stick in a firewall between the EJB app server and the database, but the authors never substantiated this with concrete examples. And I'm still trying to find articles that does just that.
I'm just kinda worried I'll encounter this kind of problem in future projects Or maybe I should consider it a good hack?!
Ex Animo Java!
-- Val
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic