Which statement describes the Oracle implementation of model-view-controller (MVC)? (Choose the best answer.)
Answer : C
Explanation:
The Role of Oracle ADF for J2EE Applications
JDeveloper includes an integrated J2EE runtime framework known as Oracle Application Development Framework (Oracle ADF) . Oracle ADF increases the cooperation between the MVC layers both in the design time and the runtime and, importantly, eases the incorporation of complex business services into the application model layer.
Specifically, ADF provides these benefits to J2EE application development:
* Provides a thin model layer that adapts diverse business services, thus permitting views to be created in a similar fashion, independent of their data source
/ Model layer - A thin model layer that adapts and combines a full range of business services as desired, including Oracle ADF Business Components, Oracle
TopLink mappings, JavaBeans, Enterprise JavaBeans, and web services.
* Optionally, provides transaction control support to the model layer and permits web applications to scale better
* Cooperates with the highly visual design tools in the JDeveloper IDE and enables an integrated view of the entire J2EE application project
References:
http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/developing_mvc_applications/adf_aoverviewadfandmvc.html
To deploy an application, select the application drop-down and choose Deploy. In the resulting dialog box, select Deploy to EAR file to _______or Deploy to
Application Server to ______. (Choose the best answer.)
Answer : A
Explanation:
Part 1: You can also use the deployment profile to create an archive file (EAR file). You can then deploy the archive file using Enterprise Manager, WLST, or the
Oracle WebLogic Server Administration Console.
You can deploy to most application servers from JDeveloper, or use tools provided by the application server vendor. You may also use Ant to package and deploy applications.
Part 2: How to Deploy the Application Using JDeveloper
After you have created an application server connection and an EAR deployment profile, you can deploy the application to a standalone application server.
To deploy an application:
1. Deploy your project to the application server:
a. In the Application Navigator, right-click your application and choose Deploy > deployment profile. b. In the Deploy wizard Deployment Action page, select Deploy to Application Server and click Next.
Etc.
References:
http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e15524/adv_wls_e.htm https://docs.oracle.com/cd/E15523_01/web.1111/e15470/deploy.htm#ADFAG20592
Your database has a strict security requirement that whenever users select from any table in the database schema, they must append the select statement with an additional where predicate that returns only records WHERE owner = :pUserName. This restricts users to seeing only records that they own.
When you design and develop the ADF Business Components in your ADF application, there will be more than 100 view objects that select against this database.
You want to build a solution that not only ensures all your developers, when writing view objects, meet the database's strict security requirement, but takes the least amount of development effort for your entire team and is easy to maintain in the long term.
Identify the correct solution. (Choose the best answer.)
Answer : C
View the Exhibit.
Answer : B
Identify the two phases in the JSF life cycle that are always processed for a request, regardless if errors occur. (Choose two.)
Answer : AB
Explanation:
Figure, JavaServer Faces Standard Request-Response Lifecycle
You have three application modules: A, B, and C. Application modules В and С are nested under the root application module A. Which statement is true when committing the nested application module B? (Choose the best answer.)
Answer : C
What is the purpose of applying a view criteria to a list accessor (that defines the data source of a list of values)? (Choose the best answer.)
Answer : A
Explanation:
In an ADF application a view accessor is considered as an approach to access a view object from another view object or entity object. The view accessors are mostly used to provide result sets for the lists of values.
A view criteria you define lets you specify filter information for the rows of a view object collection. The view criteria object is a row set of one or more view criteria rows, whose attributes mirror those in the view object. The view criteria definition comprises query conditions that augment the WHERE clause of the target view object. Query conditions that you specify apply to the individual attributes of the target view obje
References:
https://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcquerying.htm#ADFFD21779
Which two components allow you to divide your page into two sections, where one section can be collapsed and expanded by the user, without the need to code logic in a backing bean? (Choose two.)
Answer : AB
Explanation:
A: The panelBorderLayout component is a layout element which lays out all of its children consecutively in its middle, and supports twelve other facets: top, bottom, left, right, start and end. Clients should use only one of left/right or start/end for each side, in any one container, but if both are used, left/right "wins". Left,
InnerLeft/Right InnerRight always means left/right regardless of LTR or RTL. Start, InnerStart/End, InnerEnd will respect bidi setting.
B: PanelSplitters are used to divide a region into two parts with a repositionable divider. The two parts are identified as the "first" facet and the "second" facet. If the contained component supports it, the contents of a section will stretch to fill up all available space in that section. The panel splitter can be adjusted with the mouse, by pressing a collapse button, or by use of the arrow keys when the splitter is selected.
Incorrect Answres:
C: The panelStretchLayout component stretches the child in the center facet to fill all of available space. The available space may be constrained by the presence of other children in the top/bottom/start/end facets.
D: The panelDrawer control can be used to display a group of showDetailItems. Drawer "handles", aka tabs, represent the showDetailItem children. Selecting a tab/handle opens the drawer and displays the associated showDetailItem.
E: The panelTabbed control can be used to display a group of contents that belongs to a showDetailItem. Tab bar(s) with tabs representing the showDetailItem children are displayed. Selecting a tab, displays the associated showDetailItem.
References:
http://docs.oracle.com/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_panelSplitter.html http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelBorderLayout.html
Which two statements are true after rolling back an application module? (Choose two.)
Answer : BC
Explanation:
A rollback rollbacks the transaction. It discard all changes.
Incorrect Answers:
D: The passivated state will be removed when a transaction commit/rollback occurs.
References:
https://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/ApplicationModule.html
How are ADF components shared among applications? (Choose the best answer.)
Answer : E
Explanation:
If you have JAR files that can be reused by other projects, such as third-part JAR files, you can use JDeveloper to place them in an accessible location and create a library file ( .library) to designate them. The consumer can use JDeveloper to navigate to this location and add the JAR to the project.
Place the JAR files in an accessible location for both the producer and the consumer of these JAR files. For example, the directory may be on a network drive where other shared files are located.
References:
https://docs.oracle.com/cd/E15051_01/web.1111/b31974/reusing_components.htm#ADFFD21754
Your Business Components service has a view object (EmployeesView) with an attribute called Surname. Surname has the Tooltip Text control hint set to "This is the surname field". Where is the actual string for the tooltip defined? (Choose the best answer.)
Answer : A
Explanation:
Example, Querying Tooltips for Specific View Objects
The ADFQuery element can contain zero or more child elements named ViewObject if UI hints of all attributes in specific View Objects are queried. Each
ViewObject element has a text content that contains the View Object's name. The ViewObject element is used to specify the View Objects from which the UI hints of all attributes are queried.
For example, to query the tooltips of all attributes in the View Object that is named EmployeesView and CustomersView under the My_orclADF physical database object, use the following XML code:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<ADFQuery mode="tooltip" database="My_orclADF"
locale="VALUEOF(NQ_SESSION.WEBLANGUAGE)">
<ViewObject><![CDATA[EmployeesView]]></ViewObject>
<ViewObject><![CDATA[CustomersView]]></ViewObject>
References:
https://docs.oracle.com/cd/E23549_01/bi.1111/e10541/adf_labels_tips.htm
You want to configure an application so that users can shop for products anonymously without authentication, and must then authenticate after they enter the checkout process. How would you enable this requirement? (Choose the best answer.)
Answer : D
Explanation:
For example, the StoreFront module of the Fusion Order Demo application secures the web pages contained by the checkout-task-flow task flow to grant access only to logged-in users (also known as authenticated users). At runtime, the ADF Security framework performs permission checking against the task flow's security policy to determine the user's right to complete the view operation. In this case, the security policy must grant the view permission to the user if they are to complete the checkout process.
References:
https://docs.oracle.com/cd/E21764_01/web.1111/b31974/adding_security.htm#ADFFD877
You have written a Groovy validation expression for the Employees entity object. How would you customize the error message to show the value of the LastName attribute as all uppercase? (Choose the best answer.)
Answer : E
Which three resources can be secured by using the declarative features of ADF security? (Choose three.)
Answer : ABC
Explanation:
ADF Security benefits include:
Declarative, permission-based protection for ADF security-aware resources, such as ADF bounded task flows, top-level web pages that use ADF bindings, and attributes defined by ADF entity objects and their attributes.
References:
https://docs.oracle.com/middleware/1212/adf/ADFCG/security.htm#ADFCG259
You have two entities, ItemEO and ProductEO. ItemEO contains the OrderId, ItemId, ProductId, Price, and Quantity attributes. ProductEO contains the
Id, ProductName, and ListPrice attributes. You need to return rows as shown in the table.
Answer : E