Ensure that the following objects exist before you add a CalcBuilder object or a QueryBuilder object to an application:
Create a BISession
object to handle the running of CalcBuilder or QueryBuilder in the desired deployment environment.
Create a Connection
object for each data store that the application requires. Typically an application requires a Connection
to data and metadata and a Connection
to the BI Beans Catalog.
Create a MetadataManager
object to manage the connections to data stores.
To associate the MetadataManager
with its connections, invoke its setConnection
method for each Connection object.
Invoke the attach
method of the MetadataManager
once to attach all the data stores that are represented by its connections.
Prepare a data source to provide access to information contained in an OLAP query.
To establish a data source: create a QueryManager
object and use its factory method to create an empty Query
object. The MetadataManager
property of the QueryManager
object must also be set to reference the appropriate MetadataManager
.