Register session to User
问题 I'm building a prototype using Vaadin8 starting from a single-module template. I'm trying to assign a unique UI instance (a session) to each authenticated user, so that each user is presented with a particular type of content according to their own settings within the app. Here's my configuration: @WebListener public class Market implements ServletContextListener { public static ArrayList<User>users; public void contextInitialized(ServletContextEvent sce) { users=new ArrayList<User>(); User