Vaadin 6 HttpSession

I there!!

I have just completed vaadin 6 tutorial (still using it on my job)

How does vaadin handle with user session and their data beans?

In my java servlets I use something like this: (when user logs)

       HttpSession session = request.getSession(); //get session or create new if its false

       user = (User) session.getAttribute("user");   //get user session attributes
      // do the same to oher beans

       if (user == null) {                                           //or create if they dont exist
           user = new User();
          session.setAttribute("user", user);


How does vaadin 6 deals with httpsession for users to keep their own beans and dont mess your other…