Updating CRConfig.xml to use JavaBean data sources

To use a JavaBean data source, you must configure the CRConfig.xml file to contain the path to your JavaBean class.
For example, if your JavaBean is located at C:\MyJavaBeans\JavaBeanConnectivityTest.class, add C:\MyJavaBeans to the <Classpath> tag and the <JavaBeansClassPath> tag in the CRConfig.xml file.
  • Modify the <JavaDir> tag to specify the location of the Java runtime.
    <DataDriverCommon>
      ...
      <JavaDir>C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\jdk\bin</JavaDir>
    </DataDriverCommon>
  • Add the path to the JavaBean to the <Classpath> tag.
    <DataDriverCommon>
      ...
      <Classpath>C:\MyJavaBeans\;${CLASSPATH}</Classpath>
    </DataDriverCommon>
  • Add the path to the JavaBean to the <JavaBeansClassPath> tag.
    <JavaBeans>
    		<CacheRowSetSize>100</CacheRowSetSize>
    		<JavaBeansClassPath>C:\MyJavaBeans</JavaBeansClassPath>
      <CallBackFunction>CrystalReportsLogoff</CallBackFunction>
    </JavaBeans>

Note: When you deploy a JavaBean data source as part of a web application, ensure that your JavaBean is included in the Java library for your web application.