I did this exactly for a JBoss consulting customer (actually I've done this for 2 now). Its easy to do through the interceptor stack for the EJB in JBoss. Basically, the interceptor repeats the call (we did this very specifically but this could be generic) to the other appserver. Now if you do this with HA-RMI then there is a little more to it (a minor 2 lines of tweak to the HAJRMPProxy IIRC) but its trivial to do if you know what you're looking for.

The interceptor is simple to do. You just create a class with the interface (use and existing one as a template) and just add it to the proxy in either your jboss.xml or standardjboss.xml (global).

I even had someone (who knew their stuff) do this stuff in a lab during training just for fun and they managed to do it (no HA I admit) fairly quickly. (FYI sorry, we probably won't be doing that at tech engage because thats the advanced stuff)

-andy

Brent Verner wrote:

Hi,

        I was wondering if there is any such thing as an RMI proxy/gateway.

 There is an RMI service on machine A that I can use from machine B,
however I need to use the RMI service from machine C.  I would like
to run some sort of proxy on machine B so that machine C could use
the RMI service to which machine B has access.

        I'd prefer an open source solution to this, but a no-source
product would suffice.

Thanks!
        Brent


_______________________________________________ Juglist mailing list [email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org





_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to