CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: RMI + threads

  1. #1
    Join Date
    Nov 1999
    Posts
    3

    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


  2. #2
    Join Date
    Dec 1999
    Location
    Chonghe, Taipei County, Taiwan, R.O.C.
    Posts
    231

    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
  •  





Click Here to Expand Forum to Full Width

Featured