|
-
May 3rd, 2000, 11:20 AM
#1
RMI + threads
I have seen no mention in what I have read about RMI of thread safety. An object with a remote interface can be manipulated by both client(s) and server - what is to stop, for example, the server updating the object whilst the client queries it? Is it neccessary for the programmer to use synchronisation or does the JVM only allow one process at a time to use an object?
Thanks in advance
Paul
-
May 3rd, 2000, 07:47 PM
#2
Re: RMI + threads
If I do not remeber wrong, you need to synchronize it manually. RMI server will not help you
take care of this situation. I have not rembered where I see the relative information. But it does
exists .
good luck,
Alfred Wu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|