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 a persistence data store. You can also 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.
TIBCO FTL should be installed in your system as a prerequisite for TIBCO ActiveSpaces to communicate with the ActiveSpaces store. In the
be-engine.tra file, the
ACTIVESPACES_HOME
must be set to TIBCO ActiveSpaces and
FTL_HOME
must be set to a 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. See Comparison Matrix for more information about the differences between the ActiveSpaces versions.
The following table lists which TIBCO ActiveSpaces versions are supported by the various methods that integrate TIBCO BusinessEvents with ActiveSpaces.
Integration Method | Legacy ActiveSpaces | ActiveSpaces |
---|---|---|
Embedded
You can use ActiveSpaces as a TIBCO BusinessEvents cache server. |
Yes | No |
Data Store
You can use ActiveSpaces as a TIBCO BusinessEvents persistence data store. |
No | Yes |
External
You can integrate TIBCO BusinessEvents with TIBCO ActiveSpaces using catalog functions. |
Yes
See Built-in Functions for more information. |
Yes
See Data Type Mapping and CEP Store Functions for more information. |
Channel
You can use the channels to notify TIBCO BusinessEvents of changes made to ActiveSpaces. |
Yes
See Legacy ActiveSpaces Channels for more information. |
Yes
See ActiveSpaces Channel for more information. |
Key Concepts
To know more 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 an opaque data type in TIBCO ActiveSpaces. To know more about TIBCO ActiveSpaces data types, refer to the TIBCO ActiveSpaces documentation.
The following table lists the data type mapping between TIBCO BusinessEvents and TIBCO ActiveSpaces.
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 |
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 connection to TIBCO ActiveSpaces data store.
See CEP Store Functions for details on the catalog functions to integrate with ActiveSpaces.