Difference between BackingBean Scope and Request Scope in ADF - ITgnan

All Web Technologies Concepts

Friday 18 October 2013

Difference between BackingBean Scope and Request Scope in ADF

Most of the people confused while working with these two scopes. Lets try to know the difference.
Generally request scope starts with a new request to the server and after getting the response the request scope ends. Its life time is up to getting the response on the page.
Backing Bean scope is limited to the page. It just renders the content on the page without going to the new page. Mostly we will use BackingBean Scope in displaying Task flow's as regions in a page.



for example:- I entered  some text in google search box, As soon as i entered the text it displays the relevant links in that same page itself . Whatever the links or images displayed in the page are due to the backing bean scope. When i started clicking the links that particular website opens, It is due to the request scope.

No comments:

Post a Comment