The Java EE 7 Tutorial

Previous
Next

14.2 Invoking a Managed Bean

To enable a composite component to handle server-side data, you can invoke a managed bean in one of the following ways.

  • Pass the reference of the managed bean to the composite component.

  • Directly use the properties of the managed bean.

The example application described in The compositecomponentexample Example Application shows how to use a managed bean with a composite component by passing the reference of the managed bean to the component.

Previous
Next