We have thick Swing-based EJB clients accessing EJB server. I need to limit the maximum number of clients running simultaneosly. I know that it could be implemented in EJB logic, but could it be done in a more simple way? I suppose that JBoss tracks active connections so it should be an easy task... Any hint? Thanks a lot!
Look at using the PooledInvoker instead of the ordinary JRMPInvoker.
/L