Imagine I have a bean which is SessionScoped. ( Call it: Bean A )
When I request a page that accesses this bean, this bean is initialized and some of its properties are set accordingly.
Then I access some other page which has nothing to do with this bean. ( Bean A ) However, I still want to see this beans state in my debugger. How can I do this?
If my question is not clear I will try to rephrase it:
@SessionScoped
@Named
public class User{
private String name;
//getters,setters
}
Now imagine a user.xhtml, which sets a name to user.name..
Now imagine I am on page someotherpage.xhtml and I am debugging my application.
Since this bean is sessionscoped, meaning still in scope, it must be reachable somehow by the debugger. But how?