Wrong forum....As a hint try DWR's reverse ajax.
What command function in a ejb or even servlet could I use that would load all the users that are loged in.
So lets say someone opens users.html page, which is a servlet that lists all loged in users. How would I program this.
The client part will come later.