it doesn't make sense but that's how it's -RMI

S

smarto59

Im trying to connect client side applet with remote server using RMI.
At first all things going ok and the remote object returns the output
correctly. But when i try to modify the client side applet to call
another method in the remote object, its still returning the output of
the old method. I tried to restart the server, restart the rmiegistry
and compile all the code again but still the problem exist. But when i
restart my computer and run the application the result would be the
output of the new method.

it doesn't make sense but that's how it's.

Sorry for long message>
 
A

Andrew Thompson

Im trying to connect client side applet with remote server using RMI.
At first all things going ok and the remote object returns the output
correctly. But when i try to modify the client side applet to call
another method in the remote object, its still returning the output of
the old method. I tried to restart the server, restart the rmiegistry
and compile all the code again but still the problem exist. But when i
restart my computer and run the application the result would be the
output of the new method.

it doesn't make sense but that's how it's.

There was no question in there, however I will point out that
the problem is quite possibly caching of the applet classes
by the browser.

You can solve that by opening the Java console (in the
browser) and typing 'x' the 'clear classloader cache'
Sorry for long message>

That message is not long! You might even have afforded
to throw in a few more line-breaks to add more paragraphs.

Andrew T.
 
S

smarto59

Andrew said:
There was no question in there, however I will point out that
the problem is quite possibly caching of the applet classes
by the browser.
The question simply is how to solve this problem by allowing the
browser to take the latest version of the applet class always?
You can solve that by opening the Java console (in the
browser) and typing 'x' the 'clear classloader cache'
please explain in more details how can i do that in
internet explorer. I understand that means the problem
from browser setting. isn't!!!
That message is not long! You might even have afforded
to throw in a few more line-breaks to add more paragraphs.
I will try to do that in the future.
 
S

smarto59

Thank you now I can test the applet in the browser.
but i need your suggestion about implementing rmi applet.
what its the best way to give the client the stub file to run
the applet in his side?
 
A

Andrew Thompson

what its the best way to give the client the stub file to run
the applet in his side?

Other resources (classes etc.) can be made available to
an applet by Jar'ing them and adding a reference to the
Jar in the 'archive' attribute of the applet element.

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top