Free Oracle 1Z1-554 Exam Questions (page: 3)

An application module is named MyAppModule. No Java component is defined for the module but the application does define a base class that extends racle.jbo.serverAppiicationModuleimp1.
Which two statements are true in this scenario?

  1. Code In the base class will only be implemented if MyAppModuleApp1. java extends the base class.
  2. Any code in the base class will be implemented by MyAppModule.
  3. No code in the base class will be implemented because an application-specific Java component named MyAppModuleImp1. java does not exist.
  4. Any code in the base class will be implemented by MyAppModuleDefimp1.java.
  5. The MyAppModule. xml definition will include a reference to the base class.

Answer(s): B


Reference:

http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcadvgen.htm#BABCGFIE(t op ic 36.1.3)



In which two places do you configure managed beans?

  1. In the page definition file
  2. In the faces-config.xml file
  3. In the adfc-config.xml file
  4. In the Property Inspector
  5. In the task flow definition files

Answer(s): B,D


Reference:

http://docs.oracle.com/cd/E12839_01/web.1111/b31973/gs_jdev.htm#CCHIAHAD(t opic2.6.1)



You are debugging an application module method that seems to be causing an error when the argument value is anything but "2". How could you most efficiently debug this issue?

  1. Set a breakpoint on the first line of the method implementation and set the breakpoint property to break only for threads named oracie.jbo.Exception.
  2. Set a breakpoint on the first line of the method implementation and set the breakpoint pass count property to 2.
  3. Set a breakpoint on the first line of the method implementation and set the breakpoint condition to arg ! = 2.
  4. Set a breakpoint on the method declaration (where the argument is defined) and step through the breakpoint at execution to determine the argument value.
  5. Set a breakpoint on the method declaration (where the argument is defined) and set the condition to arg == 2.

Answer(s): A



Your application contains an entity object, OrdersEO. You decide to create an updatable view object SpecialOrdersVO, to handle orders that contain not-from-stock items. How will SpecialOrdersVO and OrdersEO interact to retrieve data about special orders?

  1. OrdersEO retrieves the data from the database and validates it; SpecialOrdersVO then queries the entity object's cache
  2. SpecialOrdersVO queries the database; the retrieved data is validated in the entity object, and then saved to the entity object's cache
  3. SpecialOrdersVO queries the OrdersEO entity object to retrieve data about special orders; the data is then saved in the view object's cache
  4. SpecialOrdersVO queries the OrdersEO cache; the data is validated by the entity object, and then the two objects are synchronized with the database

Answer(s): B






Post your Comments and Discuss Oracle 1Z1-554 exam prep with other Community members:

1Z1-554 Exam Discussions & Posts