TIBCO ActiveSpaces Support

TIBCO BusinessEvents integrates with TIBCO ActiveSpaces using various methods. You can use the Legacy ActiveSpaces embedded cache, integrate with ActiveSpaces using catalog functions, use ActiveSpaces as persistence data store, or communicate with TIBCO ActiveSpaces using the channels such as, Legacy ActiveSpaces Channel or ActiveSpaces Channel.

TIBCO ActiveSpaces® software is a distributed in-memory data grid product. ActiveSpaces® features familiar database concepts (such as tables, rows, and columns), high I/O capacity, and network scalability. TIBCO ActiveSpaces uses TIBCO FTL messaging software for communication between an application program and data grid, for internal communication.

To communicate with ActiveSpaces store, TIBCO FTL should be installed in your system as a prerequisite for TIBCO ActiveSpaces. In the be-engine.tra file, the ACTIVESPACES_HOME must be set to TIBCO ActiveSpaces and FTL_HOME must be set to and TIBCO FTL installation location.

Supported ActiveSpaces versions

Compared to Legacy ActiveSpaces, the latest ActiveSpaces software is completely redesigned and reimplemented to make it more user-friendly for both end users and administrators. For more information about the difference between the ActiveSpaces versions, see Comparison Matrix.

The following table lists which TIBCO ActiveSpaces versions are supported by the various methods that integrate TIBCO BusinessEvents with ActiveSpaces.

ActiveSpaces Versions Support
Integration Method Legacy ActiveSpaces ActiveSpaces
Embedded

You can use ActiveSpaces as TIBCO BusinessEvents cache server.

Yes No
Data Store

You can use ActiveSpaces as TIBCO BusinessEvents persistence data store.

No Yes
External

You can integrate TIBCO BusinessEvents with TIBCO ActiveSpaces using catalog functions.

Yes

For more information, see Built-in Functions.

Yes

For more information, see Data Type Mapping and CEP Store Functions.

Channel

You can use the channels to notify TIBCO BusinessEvents of changes made to ActiveSpaces.

Yes

For more information, see Legacy ActiveSpaces Channels.

Yes

For more information, see ActiveSpaces Channel

Key Concepts

Store
Store in BusinessEvents is synonymous with Data Grid in TIBCO ActiveSpaces.
Container
A container in BusinessEvents is synonymous with Tables in TIBCO ActiveSpaces.
Items
Items in TIBCO BusinessEvents is synonymous to Rows in TIBCO ActiveSpaces. TIBCO BusinessEvents applications can insert, delete, and retrieve individual rows. TIBCO BusinessEvents applications can query for rows that match a specified query filter.

To know about the key concepts and advanced configuration of TIBCO ActiveSpaces, refer to the TIBCO ActiveSpaces documentation.

Data Type Mapping

As TIBCO ActiveSpaces does not support TIBCO BusinessEvents primitive data types such as integer and boolean, they can be stored in long data type in TIBCO ActiveSpaces. Also, TIBCO BusinessEvents arrays of primitive type can be mapped to opaque data type in TIBCO ActiveSpaces. To know more about TIBCO ActiveSpaces data types, refer to the TIBCO ActiveSpaces documentation.

Note: TIBCO ActiveSpaces is case insensitive, thus, for entities properties, do not use reserved words in either lowercase or uppercase. For complete list, see Keywords and Other Reserved Words.

The following table lists the data type mapping between TIBCO BusinessEvents and TIBCO ActiveSpaces.

TIBCO ActiveSpaces to TIBCO BusinessEvents Data Type Mapping
ActiveSpaces Data Type TIBCO BusinessEvents Data Type
Long Long/Integer/Boolean/Float
Double Double
String String
Opaque String[]/Integer[]/Long[]/Double[]/Boolean[]/DateTime[]
DateTime DateTime
BusinessEvents to ActiveSpaces Data Type Mapping
TIBCO BusinessEvents Data Type ActiveSpaces Data Type
String/String[] String/Opaque
Integer/Integer[] Long/Opaque
Long/Long[] Long/Opaque
Double/Double[] Double/Opaque
Boolean/Boolean[] Long/Opaque
DateTime/DateTime[] DateTime/Opaque
Float/Float[] Long/Opaque

Example Project

TIBCO BusinessEvents provides a working example project for TIBCO ActiveSpaces connection present at BE_HOME/examples/standard/ActiveSpaces. Use the readme.html present at the same location to run the example. You can also import the example project in the TIBCO BusinessEvents Studio to understand more on how to integrate the project with TIBCO ActiveSpaces. For example, in the ActiveSpaces example, the StartUp.rulefunction uses Store.ConnectionInfo.create and Store.connect catalog functions to create a new connection to TIBCO ActiveSpaces data store.

For details on the catalog functions to integrate with ActiveSpaces, see CEP Store Functions.