users@tyrus.java.net

get open sessions

From: Andy Moncsek <amo.ahcp_at_gmail.com>
Date: Thu, 21 Feb 2013 21:01:41 +0100

Hi,
currently the only way to get all open session
is session.getOpenSessions(); Some versions before there was something like
context.getSession() (if I remember correct).
Will there be any other way to get all active sessions without a session
object? I am a bit confused if it is a good approach to access other
session through a session object? The Endpoint contains all the open
sessions but I cant find a way to access the endpoint directly.
How about clustering the glassfish? Is it already possible to
getOpenSessions() in a cluster?

Thank you

Andy