Using method call activity to initialize a page

A method call activity can be used for invoking business logic while transitioning to a new view. For instance, consider a simple control flow case defined between department and employee pages in a web application. When the user navigates to employee pages by selecting a specific department row from the department page, the application should fire a query to find employees for the selected department and the result should be displayed in the employee page. The Oracle ADF framework has declarative support for invoking methods while transitioning between views.

The following control flow case diagram illustrates the usage of method activity for querying the employee data source for the selected department, ...

Get Oracle ADF Real World Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.