Defining bean data elements

About this task

To declare the bean data elements at configuration or installation time, modify the XML files using any ASCII editor.
Following codes are the example definitions of data elements:
<bColl id="simpleBean" bean="com.ibm.btt.bean.test.SimpleBean"/>
<bColl id="complexBean" bean="com.ibm.btt.bean.test.ComplexBean"/>
<bColl id="customerBean" bean="com.ibm.btt.bean.test.CustomerBean" autoCreateSubElementInstance="false"/>

The parameter "autoCreateSubElementInstance" is for user to choose if they want to initiate the null value sub Java bean automatically when they access sub bean's content. Without configuring this parameter, the default value is true. If customer can be fully initialized their values before using BTT bean collection to access its values from sub Java bean, It set "autoCreateSubElementInstance" to false to avoid the automatic creation.

If "autoCreateSubElementInstance" is set to true, assure that sub Java bean can be instanced automatically.