Which statement is true about creating a method at the …

Which statement is true about creating a method at the application module level? (Choose the best answer.)

Which statement is true about creating a method at the application module level? (Choose the best answer.)

A.
You cannot create methods at the application module level.

B.
Application module methods provide an interface for the view layer to call custom business logic that may
work across multiple data views.

C.
Application module methods are best suited to writing validation logic for entity objects.

D.
Methods in an application module allow you to manipulate UI components in the ViewController project.

E.
Because ADF provides no way at run time to automatically create or delete view object records, you must
create application module methods to do this.

Explanation:
Application modules can contain service methods–methods that perform complex operations on data. These
methods can be called from clients, requiring very little data manipulation processing in the client itself.
Service methods are implemented in an application module’s class, and exposed on tier-independent interfaces
that allow clients to access the application module consistently, whether it is deployed locally or as an EJB
session bean. Inside the service method, you can do any of the following:
Dynamically add view object and view link instances to the data model
Remove view object and view link instances from the data model
Find view object instances and perform operations on their row sets
Retrieve and manipulate transaction objects
http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/bc4j/intro/bc_aam.html https://
docs.oracle.com/cd/B14099_19/web.1012/b14362/chapter_bc4j.htm#i1024792



Leave a Reply 0

Your email address will not be published. Required fields are marked *