Multiple RMI Clients

Does RMI handle multiple clients on its own? those.

  • Can I use the server function with multiple clients at the same time?
  • If not, how can I do this?
  • if so, how does it work? Does it make a new thread for each call? if one client blocks a function, what happens to the next client? and etc.
+3
source share
2 answers

Yes

how it works? Does it make a new thread for each call? if one client blocks a function, what happens to the next client? and etc.

Creates a stream for each client connection.

If one client calls a synchronized method or one that blocks other calls, calls made by other threads are blocked until this call releases the resource.

, , ?

+6

RMI , , RMI , , , , .

+2

All Articles