title: how to set and get HttpSession using JSF/Bean (@named)
body: <p>When using Servlet/JSP, we get HttpSession from HttpServletRequest, now that I develop an application using JSF/JPA/EJB, I don't know how to set attribute in session (for login exactly) and how to get them, any help.</p>