My sessionBean in one of my classes was not working fine it was acting as a request bean, I was trying to debug and suspect every part of my xhtml page till the moment i found that I imported the session bean from:
javax.enterprise.context.SessionScoped
instead of:
javax.faces.bean.SessionScoped;
does this make difference? I mean the bean won't function unless it's imported from javax.faces.bean ?
Thanks,