if number of java clients are 2000 and if they call remote method how many threads are executed in RMI server side?
Is there any maximum limit of the number of Threads in RMI serverside?
if number of java clients are 2000 and if they call remote method how many threads are executed in RMI server side?
Up to 2000.
Is there any maximum limit of the number of Threads in RMI serverside?
No. There is no limit specified. Specific implementations may have such limits, but the Sun/Oracle implementation isn't one of them. You can set a maximum, in the Sun/Oracle JRE, via sun.rmi.transport.tcp.maxConnectionThreads
, but by default there isn't one.