New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-441 Topic 10 Question 41 Discussion

Actual exam question for Oracle's 1Z0-441 exam
Question #: 41
Topic #: 10
[All 1Z0-441 Questions]

In your MAF design, you have defined a ''checkout'' feature based on a task flow where customers place items into their shopping basket and, at the end of task flow, either purchase the items in the shopping cart or cancel the order. The items in the shopping cart are persisted in a managed bean.

Which single bean scope is the right option for the shopping cart managed bean?

Show Suggested Answer Hide Answer
Suggested Answer: C

Mobile Application Framework variables and managed bean references are defined within different object scopes that determine the variable's lifetime and visibility. MAF supports the following scopes, listed in order of decreasing visibility:

Application scope---The object is available for the duration of the application (across features).

Page flow scope---The object is available for the duration of a feature (single feature boundary).

View scope---The object is available for the duration of the view (single page of a feature).

Object scopes are analogous to global and local variable scopes in programming languages. The wider the scope, the higher the availability of an object. During their lifespan, these objects may expose certain interfaces, hold information, or pass variables and parameters to other objects. For example, a managed bean defined in application scope will be available for use during multiple page requests for the duration of the application. However, a managed bean defined in view scope will be available only for the duration of one page request within a feature.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77