How can I get to know the number of clients that are connected to a RMI server at any given time?

Shaun Childers

Design it into your system. When the client request comes in, just keep a tally of the number of clients you have in your system. When a client leaves, subtract one from this number. A similar topic using discussing limiting the number of connections to an RMI server can be found here: http://www.jguru.com/jguru/faq/view.jsp?EID=79317