Declaring the Managed Beans

About this task
When you declare the managed beans which are needed in your application, you must initialize its beanContextName property with the name of the BTT Context to contain all the data used in UI.

See the following example of declaring the managed beans:

<managed-bean>
	<managed-bean-name>accountSummaryBean</managed-bean-name>
  	<managed-bean-class>test.AccountSummaryBean</managed-bean-class>
  	<managed-bean-scope>request</managed-bean-scope>
  	<managed-property>
  		<property-name>beanContextName</property-name>
  		<value>accountSummaryCtx</value>
  	</managed-property>
</managed-bean>