P
Paul Foreman
I have just got an applet I am developing to use the RMI method to get
information from a server.
I was using JBuilder and using try and catch statements for each of the
methods that needed the remote information. So there were several methods
which invoked the RMI method Naming.lookup. All seemed well until I tried to
use the applet in a browser. When I did this I got a 'notinited' message and
the applet failed to load.
By trial and error the applet appears to work when there is only one method
that calls the RMI code.
Is this a genuine limitation in the use of RMI?
Is there a standard way of coding the use of RMI such that many methods can
access one RMI Naming.Lookup set of code?
I hope that I have made my question clear enough. Any advice would be
appreciated.
Regards
Paul
information from a server.
I was using JBuilder and using try and catch statements for each of the
methods that needed the remote information. So there were several methods
which invoked the RMI method Naming.lookup. All seemed well until I tried to
use the applet in a browser. When I did this I got a 'notinited' message and
the applet failed to load.
By trial and error the applet appears to work when there is only one method
that calls the RMI code.
Is this a genuine limitation in the use of RMI?
Is there a standard way of coding the use of RMI such that many methods can
access one RMI Naming.Lookup set of code?
I hope that I have made my question clear enough. Any advice would be
appreciated.
Regards
Paul