Here @partlov added comment that we can use RequestScoped
/SessionScoped
from two packages - javax.faces.bean
and javax.enterprise.context
. I'm new in JSF/Java EE and I don't know the dfference. I use a lot of RequestScoped
/SessionScoped
from javax.faces.bean
package. I will be grateful if somebody will write the difference.
Asked
Active
Viewed 1,478 times
2
-
2Read [JSF: Backing beans (@ManagedBean) or CDI Beans (@Named)?](http://stackoverflow.com/questions/4347374/jsf-backing-beans-managedbean-or-cdi-beans-named) and [Comparing JSF Beans, CDI Beans and EJBs](http://www.andygibson.net/blog/article/comparing-jsf-beans-cdi-beans-and-ejbs/) to start with. – skuntsel Mar 14 '13 at 16:25
-
Thanks! I'll read that. – pepuch Mar 14 '13 at 16:53