Java Platform, Enterprise Edition (Java EE) 8
The Java EE Tutorial
To enable a composite component to handle server-side data
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.