Академический Документы
Профессиональный Документы
Культура Документы
What businesses need today is something that will perceive and identify various diverse events
that occur within and across the organization, which may result and lead to a significant
condition, problem, or opportunity that requires an immediate response or human intervention.
These events may occur in a specific pattern or trend and may result to a specific outcome that
could likely make an impact to the company either in a positive or a negative way. TIBCO
BusinessEvents is a leading software in complex event processing that addresses the concern of
responding to certain conditions or situations before they occur by processing or executing
predefined rules. In this document, you will learn more about what TIBCO BusinessEvents can
do, its features and advantages, and how easily you can define and make use of its resources.
a
One aspect is about knowing the state of persons, objects, or entities in your business. It is
monitoring of certain events and observation of certain performance indicators or criteria.
Another aspect is about detecting significant facts about persons, objects, or entities in your
business and responding to specific conditions that occur. The last is about tracking information
over a period of time and tracing pertinent data that may result to a problem or an opportunity.
These models are the Event model, Concept model, Rule and Ruleset model, Rule Functions, and
State model. The event model provides inputs into BusinessEvents through the event properties
and optionally their XML payload. The Concept model refers to data concepts mapped from
events properties or payload, or other means into BusinessEvents. Rules provide the behavioral
mechanisms in BusinessEvents and are composed of the declarations, optional conditions, and
actions. Rulesets serve as containers of related rules. Rule functions refer to algorithms,
procedures, or functions, which have arguments and a body. They are reusable components in
BusinessEvents projects. State model refers to some state machine or state model representation,
which describes the states that an entity can hold, the transitions allowed between the states and
the conditions for such transitions.
There are three types of channels: TIBCO Rendezvous channels, JMS Channels, and Local
channels. TIBCO Rendezvous channels use the Rendezvous daemon as a connection resource
while the JMS Channels use the JMS as a connection resource. Local channels are used to route
events to multiple rule sessions. Rule sessions refer to an instance of the BusinessEvents engine.
Serializers are used by BusinessEvents to convert events to messages while deserializers are used
by BusinessEvents to convert messages to events.
The three types of events supported are the simple event, time event, and advisory event. When
called event, this refers to a simple event which defines an object that represents an activity such
as debiting an account, logging an employee, or suspending a fraud account. You can define the
properties of simple events. Time events are timers that are used to trigger rules. There are two
types: the repeating time event which repeats every specified interval and the rule-based time
event which is asserted into working memory after a specified period of time. Rule-based event
can be done by using the ontology function provided in BusinessEvents. Lastly, the advisory
event is an event asserted into working memory when certain condition occurs such as
exceptions or errors, the failure of the BusinessEvents engine to invoke or call a BusinessWorks
process, and the success condition of engine startup or activation. You do not have to create or
configure an event of advisory type because it is automatically available for use in the resource
list when you add a resource to the declaration portion of a rule.
r
Concepts are descriptive entities similar to object oriented concept of a class. They describe a set
of properties. For example, an Employee concept can have properties such as FirstName,
LastName, Salary, and Department. Concepts have property history and you can set the history
size to a number of values with their timestamp, which you want to keep in working memory or
a persistent storage. History policies can either be Changes only, which means values will be
stored only when they are modified or changed, or All Values, which means values will be stored
all the time even though they are not modified or changed. Concepts can also have inheritance,
containment, and reference relationships.
Database concepts are BusinessEvents concepts created by mapping tables or views from a
database. Each row in a table represents one database concept instance, and each column
represents the properties of the database concept. Database concepts are different from
BusinessEvents concepts because you can perform database operations such as query, insert,
update and delete.
A scorecard is a special type of concept that serves as static variables available throughout the
BusinessEvents project. Scorecards are used to track certain key factors. Unlike a BusinessEvent
concept, a scorecard is itself a single instance and not a description for creating instances. It is
created during design-time. Rules are used to view and update the values of the properties in a
scorecard.
aa
a
State modeler is a Unified Modeling Language (UML) compliant application that allows you to
model the lifecycle of an instance. For each instance of a given concept, you can define which
states it can have and how it will change from state to state based on applicable rules. A state
model begins with a start state and ends with one or more end states. It is similar to a finite state
automaton. In between may be simple, composite and concurrent states connected by transitions.
A simple state is a state that has an entry and an exit action. A composite state is like a group of
nested folders that contain other states. A concurrent state allows multiple state flows to be
passed on. Transitions determine when an instance of a concept passes from one state to another
which is indicated by complex transitions, or from a state to itself which is indicated by self-
transitions.
A rule function is an algorithm or method you write in BusinessEvents language for use in the
entire project. A rule function is composed of arguments and a body. It can return a value, for
example, integer, String, or boolean data type. It can also return void or no value. Rule functions
can be used as event preprocessors and can be executed during engine startup or shutdown.
An event preprocessor is a rule function with one argument of type simple event. It performs
actions after an incoming message is converted into a simple event but before it is asserted into
working memory. This means that before a rule can process the simple event, the event
preprocessor executes certain tasks first.
A virtual rule function is a rule function that has arguments but no body. Its implementation is
provided in the Decision Manager Business User Interface. The implementations are called
decision table classes or external classes since they exist outside the BusinessEvents engine.
Each row in a decision table forms a simple rule and collectively defines the body of the virtual
rule function.
a$ *
(
+
The BusinessEvents project is created by the user. He creates events, concepts, rules, and rule
functions. The project must contain at least one virtual rule function. The EAR file for this
project is built and the RMS user sets up an RMS project for it. The RMS user creates access
control files which define the appropriate personnel that can access the decision project, domain
model files which define what ontology resources the business user is allowed to utilize, and
others such as test files that contain data to test the decision table. After that, the RMS user starts
the RMS server and informs the business user that it is already running. The business user logs
into Decision Manager and requests for a decision project by checking it out and saving it to his
local computer. The business user creates one or more decision tables locally with a locally
running BusinessEvents engine started by Decision Manager automatically. The business user
commits the decision project for approval. The RMS user receives the request, reviews the
project, and then approves or rejects it. If he approves it, the RMS generates class files in a
known location on a production BusinessEvents engine or he can manually save it there. The
class files are either hot deployed to a running system or deployed when the BusinessEvents
system starts up. After this, the business logic defined by the business user is now part of the
BusinessEvents application.
With TIBCO BusinessEvents, you can identify significant events and information over time
within your organization. You can analyze the most likely impact of these events to your
business and prevent the occurrence of problems and grab every opportunity that comes to your
business. This prediction capability of TIBCO BusinessEvents makes it truly one of a kind and
the leading software when it comes to complex event processing. It also incorporates business
users to formulate rules based on their own expertise and integrate these rules in TIBCO
BusinessEvents. It is a fantastic way to collaborate in building projects and this results to higher
throughput, efficiency, and leverage in business.