TIBCO BusinessWorks 6 Integration
With the use of the TIBCO BusinessEvents API, you can run a TIBCO BusinessEvents engine from within BusinessWorks 6 to call rule functions, create events and concepts and assert events and concepts.
Procedure
- Install TIBCO BusinessEvents Version 5.2.0, TIBCO BusinessWorks 6.
- Import the TIBCO BusinessEvents project RuleFunctionAPI/RFAPI from the standard examples in TIBCO BusinessEvents Studio.
- Create a JAVA class to call the TIBCO BusinessEvents Rulefunction API.
- Create a TIBCO BusinessWorks 6 application with the JAVA INVOKE activity with the TIBCO BusinessWorks 6 Studio.
-
Add the JAR file and the required JARs from TIBCO
BE_HOME/lib as listed below to add to TIBCO BusinessWorks 6 application's build path libraries.
- Configure the JAVA Invoke Activity by using the invoke method from the CallRuleFunction class to call TIBCO BusinesEvents RuleFunction API.
-
Provide the required JAVA activity input parameters, such as REPO URL, TIBCO BusinessEvents engine TRA file, CDD file, PU, Rulefunction name and so on.
These parameters are TIBCO BusinessEvents project artifacts required to call TIBCO BusinessEvents RuleFunction.
-
Go to the TIBCO BusinessWorks 6 Application Module Dependencies and import the packages as listed below required to call the TIBCO BusinessEvents RuleFunction API.
Packages required from TIBCO BusinessWorks 6 include:
- org.eclipse.emf.ecore.resource.Resource$Factory$Registry
- org.eclipse.emf.ecore.EObject
- org.eclipse.emf.common
- org.eclipse.emf.common.util.URI
- org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
- org.eclipse.emf.ecore.impl.EPackageImpl
- org.eclipse.emf.ecore.xml.type.XMLTypePackage
- org.eclipse.emf.ecore.xmi.impl.EcoreResourceFactoryImpl
- org.eclipse.emf.ecore.util.FeatureMap
- org.eclipse.emf.common.notify.Notification
- org.apache.log4j.Appender
- org.apache.log4j.spi.LoggerRepository
- com.tibco.xml.tns.impl.TargetNamespaceCache
- com.tibco.util.StringUtilities
- com.tibco.xml.schema.SmType
- org.eclipse.emf.ecore.xmi.XMLOptions
- com.tibco.xml.schema.impl.SmNamespaceProviderImpl
- com.tibco.xml.ws.wsdl.WsException
- com.tibco.xml.tns
- com.tibco.xml.tns.impl
- com.tibco.xml.tns.parse
- com.tibco.xml.tns.parse.helpers
- com.tibco.xml.data.primitive
- com.tibco.xml.datamodel
- com.tibco.io.xml
- com.tibco.xml.schema.channel.SchemaModelProvider
- com.tibco.xml.validation.kernel.DefaultSchemaCache
- com.tibco.xml.channel.error.helpers.ErrorThrower
- com.tibco.xml.schema.parse.SmParseSupport
- com.tibco.xml.schema.build.MutableSchema
- com.tibco.xml.datamodel.helpers.XiChild
- com.tibco.xml.schema.helpers.NoNamespace
- com.tibco.xml.schema.flavor.XSDL
- com.tibco.sax.ResolverUtilities
- com.tibco.xml.data.primitive.values.XsBoolean
- com.tibco.xml.datamodel.navigation
- com.tibco.xml.xquery
- Deploy the application in TIBCO BusinessWorks 6 as "BW Application" or export the application to EAR and deploy in the TIBCO BusinessWorks domain with TIBCO Enterprise Administrator.
Copyright © TIBCO Software Inc. All Rights Reserved.