aspose file tools
The moose likes Servlets and the fly likes Is there a way to enumerate all sessions in J2EE or only proprietary? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Is there a way to enumerate all sessions in J2EE or only proprietary?" Watch "Is there a way to enumerate all sessions in J2EE or only proprietary?" New topic
Author

Is there a way to enumerate all sessions in J2EE or only proprietary?

Dan Bizman
Ranch Hand

Joined: Feb 25, 2003
Posts: 387
Does J2EE Api provide a way to enumerate all the sessions in a web app or servletcontext? Or is the only way to do this to either implement it myself or via the web server's propreitary mechanism?
Lucas Lee
Ranch Hand

Joined: Oct 02, 2006
Posts: 53
You can use session listener to maintain a session list of whole application.
I did this before.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is there a way to enumerate all sessions in J2EE or only proprietary?
 
Similar Threads
Enumerating all Objects Instance
Enumerate active sessions
get coordinates of all running forms
Top 10 Servlet/JSP misconceptions.
HttpSession ... tracking and cleanup