This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 20584
    ∞

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA RMI ACTING LIKE CORBA