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

Load handling of RMI requests!!!  RSS feed

 
Sagar Sharma
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using RMI over IIOP ina commercial project and I am using tnameserv as the naming server as usual.
Is it allright to use this in a commercial application. I may have upto 100 concurrent users making method calls on the RMI server. Will the server handle this efficiently!!!
Please do reply back urgently.
Regards
Sagar
 
Sagar Sharma
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLS REPLY URGENTLY!!!
 
Suneel Setlur
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If you are asking whether RMI will create 100 threads for concurrent request, the answer is it may or may not. It is at RMI discretion. Ideally you have to handle the threading for an RMI application.
See the RMI spec. You can't depend on RMI to do threading for you, but your server-side code must be thread-safe.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!