wood burning stoves 2.0
The moose likes Distributed Java and the fly likes Using plain RMI (JRMP) across to App. Servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Using plain RMI (JRMP) across to App. Servers" Watch "Using plain RMI (JRMP) across to App. Servers" New topic

Using plain RMI (JRMP) across to App. Servers

Tha'er Zayed

Joined: Mar 10, 2004
Posts: 20
My PLAIN JRMP RMI Stubs are going to reside in an iPlanet J2EE App Server and my PLAIN JRMP RMI Objects are going to reside in a phsically separate
Oracle App Server. Now my question is, is it possible to use Plain RMI for that purpose or does it have to be IIOP.
I'm trying to avoid the overhead associated with IIOP as I dont need to support non-Java objects.

Please note that my PLAIN JRMP RMI client and server are going to be pure Java, and they are going to reside on two different boxes.
The client will reside in the Web container of my iPlanet App. Server (thru JSPs, Servlets) and my plain (JRMP, not IIOP) RMI server objects will reside
in another Oracle App. Server JVM in a different box.
So my question is, is that possible?
I would be HUGLEY surprised to know that this is not possible, because Plain RMI (JRMP) is the foundation of EJB. My knowledge is that of course this is possible, but what made me post this question is that one of my colleagues said no it's not possible which I'm pretty confident not true, so I just want to confirm that. I'd really appreciate a direct answer.

I would really appreciate some help.

Thanks a lot in advance,
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

I haven't used Oracle App Server or iPlanet, but as long as they are plain old RMI objects, there shouldn't be a problem. By the way, EJB specifies that it uses RMI IIOP, *not* JRMP... but this shouldn't impact you as long as you are just using plain RMI objects.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link: http://aspose.com/file-tools
subject: Using plain RMI (JRMP) across to App. Servers
It's not a secret anymore!