Login
Remember
Register
Ask a Question
What are the available scopes for the managed bean?
0
votes
asked
Sep 13, 2022
in
JSF
by
sharadyadav1986
What are the available scopes for the managed bean?
jsf
scopes
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 13, 2022
by
sharadyadav1986
You can use following scopes for a bean class:
Application (@ApplicationScoped): Application scope persists across interaction of all the users with the web application.
Session (@SessionScoped): Session scope persists across multiple HTTP requests in a web application.
View (@ViewScoped): View scope persists during the interaction of the user with a single page (view) of a web application.
...