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
"Knowledge is power, but enthusiasm is the key." -- Lavern Barn
Jim Bertorelli
Ranch Hand
Joined: Nov 28, 2001
Posts: 136
posted
0
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.
ruilin yang
Ranch Hand
Joined: Feb 25, 2001
Posts: 334
posted
0
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
Joined: Dec 05, 2001
Posts: 156
posted
0
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