Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell us about the @viewscoped, @sessionscoped, @customscoped and @requestscoped annotations.



Tell us about the @viewscoped, @sessionscoped, @customscoped and @requestscoped annotations...

Answer / 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

More Java Server Faces (JSF) Interview Questions

Compare the jsf and spring framework.

1 Answers  


What is cdi application?

1 Answers  


What is h:outputtext tag in jsf (javaserver faces)?

1 Answers  


How to validate managed bean in jsf (javaserver faces)?

1 Answers  


what is rendering of page in JSF?

1 Answers  


Can there be no faces-config.xml for jsf application?

1 Answers  


How to create facelets templates?

1 Answers  


What are immediate and deferred value expressions?

1 Answers  


What are two ways to bind jsf supported?

1 Answers  


What is the difference between instant and deferred expressions?

1 Answers  


What is a backing bean?

1 Answers  


What does @applicationscoped annotation indicate?

1 Answers  


Categories