Transparent Rmi

Transparent RMI (or TRMI) sits on top of RMI [RemoteMethodInvocation], and allows any interface to be used remotely (i.e. not just those that extend Remote). Methods don't need to throw RemoteException - disconnections and so on can be handled within the stub.

It uses the Proxy mechanism to wrap existing interfaces, and delegate the calls to the remote, actual implementation. The end result is that remote calls become transparent within the application - you don't need to differentiate between local and remote objects.

Some external links:

http://www.javaworld.com/javaworld/jw-08-2002/jw-0809-trmi.html - A JavaWorld article on the idea.

http://trmi.sourceforge.net/ - The homepage on SourceForge.

-- GuyGurAri


Quite useful, I've been finding... There are a couple of rough edges that I've run into:

But all in all, a useful package. You have no idea how nice it is to not mess around with catching RemoteException all over the place, or dealing with multiple branches of the same basic interfaces, or custom stubs.

GuyGurAri, if you want to see any of my changes, just give me a shout (my contact info's on my page here).

-- WilliamUnderwood


EditText of this page (last edited February 19, 2005) or FindPage with title or text search