What is the best way/pattern for counting the number of active users using a particular java EE JSF web app?
The two ways I know is HttpSessionListener and using JMX web beans, if there is a third better way I am open to suggestions. I am just trying to figure out the most elegant solution.
Help is much appreciated