BES Implementation

From VCGR Wiki

Jump to: navigation, search

Execution Engine

In the new BES Implementation, bes's will be configured with an execution engine. This will be a class with a well known interface that will be instantiated once in the server configuration file, and reference by name from the BES service configuration in the same file. This way, we can easily configure the number of running BES activities at any given time.

Database Design

The following shows the schemas of the proposed BES tables. Notice that the distinction between BES and BES activity is no longer clear cut. This is intentional. As far as the execution engine and the BES goes, there is no reason to seperate the two. They are seperate port types for convenience, but both reference the same conglomerate state behind the scenes.


besactivitiestable
column namecolumn type
activityidVARCHAR(256)
besidVARCHAR(256)
jsdlBLOB(256K)
ownersBLOB(128K)
callingcontextBLOB(128K)
stateBLOB(256K)
submittimeTIMESTAMP
suspendrequestedSMALLINT
terminaterequestedSMALLINT
activitycwdVARCHAR(256)
executionplanBLOB(256K)
nextphaseINTEGER
activityeprBLOB(128K)
activityservicenameVARCHAR(128)
jobnameVARCHAR(256)


besactivityfaultstable
column namecolumn type
faultidBIG INTEGER
besactivityidVARCHAR(256)
faultBLOB(32K)


bespolicytable
column namecolumn type
besidVARCHAR(256)
userloggedinactionVARCHAR(64)
screensaverinactiveactionVARCHAR(64)