Meaningless Drivel is fun!*
The moose likes Distributed Java and the fly likes JAVA RMI ACTING LIKE CORBA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JAVA RMI ACTING LIKE CORBA" Watch "JAVA RMI ACTING LIKE CORBA" New topic
Author

JAVA RMI ACTING LIKE CORBA

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I need to make JAVA rmi act like an ORB .
Instead of a client contacting a server directly , I need it to go via the server which has the registry in it.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I may be being dumb here, but could you not just have the "orb" and the "real server" implement the same interface(s). The "client " then contacts the "orb" as if it is a server, and the "orb" in turn then dispatches the rpc to the appropriate "real server".
We use that pattern here. We actually use DCE in C++ rather than RMI in Java, but the principle is the same.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20496
    ∞

How about if you have one computer that hands out RMI objects from other servers?
Are you familiar with how to do an RMI factory?

permaculture Wood Burning Stoves 2.0 - 4-DVD set
 
jQuery in Action, 2nd edition
 
subject: JAVA RMI ACTING LIKE CORBA
 
Similar Threads
last minute question
Client startup parameter help please
Deploying an RMI application
how to load class dynamically from another location In RMI
Question about JNI and RMI-IIOP