How I can set the maximum number of requests that can be handled by a multithreaded RMI server(an object which extends UnicastRemoteObject)?

Benjamin McCartney

My understanding is that the standard RMI does not permit any way for you to limit this. If you wish to limit the number of requests that your server will handle then you will have to implement this at the application level.

You could look at other implementations of RMI like Voyager. Some of these offer advanced features like thread pooling to enhance performance but such features need to be configure externally.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact