Tell us about the @viewscoped, @sessionscoped, @customscoped and @requestscoped annotations.
Answer Posted / Arun Kumar Singh
@ViewScoped: Indicates that a managed bean has view scope, which means it exists for each user's request to a single JSF view.@SessionScoped: Indicates that a managed bean has session scope, which means it exists for the duration of the HTTP session.n@CustomScoped: Allows developers to create custom scope for managing beans beyond the built-in scopes (@ViewScoped, @SessionScoped, etc.).@RequestScoped: Indicates that a managed bean has request scope, which means it exists for the duration of a single user's HTTP request.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category