Review Questions

http://www.smart-soft.com

1: What are the 4 possible values for scope in the useBean tag, from most global to least?   Answer

2: Of those 4 scopes, which one may result in the use of cookies behind the scene?   Answer

3: If you declare an object to be "application" scope, how many instances of that object will reside on the web server?   Answer

4: If you declare an object to be "session" scope, how many instances of that object will reside on the web server?   Answer

5: Under what situation might page scope and request scope behave differently?   Answer

6: What are the minimum requirements for class to qualify as a bean?   Answer

7: Which will result in more calls to new, a useBean with session scope or a useBean with request scope?   Answer