I need to get all active sessions from servlet. But I believe this API is obsolated… That is why, I tried to implement using existing API. package jp.develop.tool.servlet; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionActivationListener; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; /** * Session list providing Listener. */ public class SessionListListener implements […]