How to invoke AM method from Managed bean ?
1.Take instance of AM in manage bean method It can be done in following ways –
a.
Accessing the Application Module Client Interface in a JSF Backing Bean Using a
Named Action Binding
b.
Accessing the Application Module Client Interface in a JSF Backing Bean Using a
Named Iterator Binding
c. Using
Configuration.createRootApplicationModule()
Implementation of first two options a and b can be
found here
The third option c is normally avoided one because
it leads to creating additional
application module instances which are distinct from the AM instance that is
automatically checked out and checked in for you by the ADF data binding layer
for use by your UI pages and task flow method call activities.. A detailed
description can be found here
No comments:
Post a Comment