How to instantiate a bean again after the session drops JSF 1.x

Asked

Viewed 13 times

0

Good afternoon, you guys,

I’m racking my brain with something I believe is simple.

Next, is there any way to instantiate a Bean and its attributes "manually"? I have a configured bean in xml with session scope and this has 4 more properties that also need to be instantiated. Jsf does this when accessing the Bean via action menu, but when the session expires I would need to instantiate it again without having to access the menu.

What’s the best way to do that?

  • Properties are of the logged-in user?

  • This is stored in the user’s session

  • But the properties, are user data or are generic system data?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.