wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes how to count number of user available for particular application in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to count number of user available for particular application in java" Watch "how to count number of user available for particular application in java" New topic
Author

how to count number of user available for particular application in java

manikandan param
Greenhorn

Joined: Jan 18, 2006
Posts: 2
Hai ,

In my application , i want to know about number of users available in the particular application .any one can help me . can any one can give the sample coding or URL tutorials
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Assuming this is a web app, look into the HttpSessionListener. There are a couple ways to get an implementing class hooked up to the events. If you're in a cluster this will only monitor the one clone it's running on and a user could possibly show up in two places at once.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to count number of user available for particular application in java
 
Similar Threads
how to count number of user available for particular application in java?
Doubt in Session Attributes (HFSJ)
MIDlets and classes
Can we make " singelton servlet" ?
Page Scope VS request Scope VS session Scope Vs application scope