Every time I make an Ajax request in JSF2 I am getting a new session bean,why?
问题 Hi I am getting a new session bean for every ajax request made to this Bean... Can any of you tell me why ? ...... imports ...... @Named(value = "userController") @SessionScoped public class UserController implements Serializable { private User current; private DataModel items = null; @EJB private br.com.cflex.itm.dataaccess.UserFacade ejbFacade; private PaginationHelper pagination; private int selectedItemIndex; public UserController() { } public Collection<Project> getMyProjectList(){