Java Platform, Enterprise Edition (Java EE) 8
The Java EE Tutorial

Previous Next Contents

Invoking a Managed Bean

To enable a composite component to handle server-side data

  1. 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 Contents
Oracle Logo  Copyright © 2017, Oracle and/or its affiliates. All rights reserved.