This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Proceess identification in RMI  RSS feed

 
Michael Fisherman
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when a client invokes a remote call to the server. When the server executes
that function, lets say fn1; is fn1 running on the registry process or does the registry process implicitly spawn off another thread for fn1. I am thinking the later, for what if the client, through its stub, invokes fn1 twice before the first fn1 finishes.
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The registry is simply a repository for remote objects. Once you get the remote object, the registry is finished.

All your communication is with the server. The server may create a thread for each request. This is the usual practice.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!