I have Swing based application which internally makes RMI calls to another component called Manager which is a standalone application.
I have my manager component running on two machines i.e. a server and my localhost development machine. I run my UI application through JNLP wherein code gets downloaded from server machine.
My problem is when i run Manager component on both machines and run GUI, the GUI code makes RMI call to my localhost code instead of server code even though i specifed the host name and code base properly.
Thanks Edward for your reply. The problem is resolved now. In one of the very specific cases my code was binding to localhost in first attempt before binding to actual server. Hence, it used to get the stubs from localhost machine. It took a lot of time to detect the problem as its very hard to debug a web start application (for me atleast).
Prafull
SCJP
Men call me Jim. Women look past me to this tiny ad:
a bit of art, as a gift, that will fit in a stocking