强大的工作流引掣:shark

03-11-19 skyleaf24
使用jawe后,一直在寻求一个好的工作流引掣,几个月过后shark终于浮出水面。真是令人兴奋!

发布的1.0版本的持久化存储稍有点问题,取消持久化存储后可以正常运行。

如果想解决持久化问题,可以从CVS上获取最新版本。

下面是我做的资源文件(对应于CVS版本,发布的shark1.0应该也可以用。)

# @(#)WorkflowClient.properties

#

# Resource strings for SharkClient

WorkflowAdminTitle=Shark管理员应用

WorklistHandlerTitle=Shark工作列表处理者应用

RefreshingRateInSecondsForWorkflowAdmin=100

RefreshingRateInSecondsForWorklistHandler=100

AddImage=org/webdocwf/util/workflowclient/resources/addpoint.gif

DefineImage=org/webdocwf/util/workflowclient/resources/define.gif

WaitImage=org/webdocwf/util/workflowclient/resources/wait.gif

worklisthandlerIcon=org/webdocwf/util/workflowclient/resources/worklisthandlericon.gif

worklisthandlerLogo=org/webdocwf/util/workflowclient/resources/worklisthandlerlogo.gif

workflowadminIcon=org/webdocwf/util/workflowclient/resources/workflowadminicon.gif

workflowadminLogo=org/webdocwf/util/workflowclient/resources/workflowadminlogo.gif

CancelImage=org/webdocwf/util/workflowclient/resources/cancel.gif

CancelLabel=取消

WorkflowObjectPropertiesImage=org/webdocwf/util/workflowclient/resources/properties.gif

WorkflowObjectPropertiesLabel=属性

WorkflowObjectPropertiesMnemonic=r

WorkflowObjectPropertiesAccel=CTRL-R

OKImage=org/webdocwf/util/workflowclient/resources/ok.gif

OKLabel=确定

VariableDescriptionLabel=描述

VariableDescriptionImage=org/webdocwf/util/workflowclient/resources/edit.gif

VariableDescriptionTooltip=显示选择变量的描述

openedpackagesTreeImage=org/webdocwf/util/workflowclient/resources/openedpackagestree.gif

packageTreeImage=org/webdocwf/util/workflowclient/resources/packagetree.gif

managerTreeImage=org/webdocwf/util/workflowclient/resources/managertree.gif

processTreeImage=org/webdocwf/util/workflowclient/resources/processtree.gif

#***************** main admin menubar

adminmainmenubar=file connection refreshing

#***************** main worklisthandler menubar

worklisthandlermainmenubar=file connection2 refreshing

# file Menu definition

#

# Each of the strings that follow form a key to be

# used as the basis of a menu item definition.

#

file=Exit

fileLabel=文件

fileMnemonic=f

ExitLabel=退出

ExitMnemonic=x

ExitAccel=ALT-X

ExitImage=org/webdocwf/util/workflowclient/resources/stop.gif

# connection Menu definition

#

# Each of the strings that follow form a key to be

# used as the basis of a menu item definition.

#

connection=Connect Disconnect - ShutdownEngine

connectionLabel=连接

connectionMnemonic=C

ConnectLabel=连接

ConnectMnemonic=c

ConnectAccel=CTRL-C

ConnectImage=org/webdocwf/util/workflowclient/resources/connect.gif

DisconnectLabel=断开

DisconnectMnemonic=d

DisconnectAccel=CTRL-D

DisconnectImage=org/webdocwf/util/workflowclient/resources/disconnect.gif

ShutdownEngineLabel=关闭引掣

ShutdownEngineMnemonic=h

ShutdownEngineAccel=CTRL-H

ShutdownEngineImage=org/webdocwf/util/workflowclient/resources/shutdownengine.gif

# connection2 Menu definition

#

# Each of the strings that follow form a key to be

# used as the basis of a menu item definition.

#

connection2=Connect Disconnect

connection2Label=连接

connection2Mnemonic=C

# refreshing Menu definition

#

# Each of the strings that follow form a key to be

# used as the basis of a menu item definition.

#

refreshing=Refresh - SetRefreshingRate

refreshingLabel=刷新

refreshingMnemonic=r

RefreshLabel=刷新

RefreshMnemonic=r

RefreshAccel=CTRL-R

RefreshImage=org/webdocwf/util/workflowclient/resources/refresh.gif

SetRefreshingRateLabel=设置刷新率

SetRefreshingRateMnemonic=t

SetRefreshingRateAccel=CTRL-T

SetRefreshingRateImage=org/webdocwf/util/workflowclient/resources/refreshingrate.gif

#

# processviewertoolbar definition

#

ProcessViewerToolbar=ActualSize ZoomIn ZoomOut - UpdateView - ViewBlock

ProcessViewerToolbarLabel=查看

ProcessViewerToolbarImage=org/webdocwf/util/workflowclient/resources/viewtoolbar.gif

ActualSizeLabel=实际大小

ActualSizeImage=org/webdocwf/util/workflowclient/resources/actualsize.gif

ActualSizeTooltip=实际大小

ZoomInLabel=放大

ZoomInImage=org/webdocwf/util/workflowclient/resources/zoomin.gif

ZoomInTooltip=缩小

ZoomOutLabel=放大

ZoomOutImage=org/webdocwf/util/workflowclient/resources/zoomout.gif

ZoomOutTooltip=缩小

UpdateViewLabel=更新视图

UpdateViewImage=org/webdocwf/util/workflowclient/resources/updateview.gif

UpdateViewTooltip=更新视图

ViewBlockLabel=查看块

ViewBlockImage=org/webdocwf/util/workflowclient/resources/block.gif

ViewBlockTooltip=查看选中的块活动

#

# repositorymanagementbuttons definition

#

RepositoryManagementButtons=UploadPackage - DeletePackage

UploadPackageLabel=上传

UploadPackageImage=org/webdocwf/util/workflowclient/resources/open.gif

UploadPackageTooltip=上传包到引掣库

DeletePackageLabel=删除

DeletePackageImage=org/webdocwf/util/workflowclient/resources/delete.gif

DeletePackageTooltip=从引掣库中删除选中包

#

# packagemanagementbuttons definition

#

PackageManagementButtons=LoadPackage UnloadPackage - UpdatePackage

LoadPackageLabel=载入

LoadPackageImage=org/webdocwf/util/workflowclient/resources/open.gif

LoadPackageTooltip=载入包到引掣

UnloadPackageLabel=卸载

UnloadPackageImage=org/webdocwf/util/workflowclient/resources/delete.gif

UnloadPackageTooltip=从引掣中卸载指定包

UpdatePackageLabel=更新

UpdatePackageImage=org/webdocwf/util/workflowclient/resources/update.gif

UpdatePackageTooltip=更新选择中的包

ChangePackageLabel=改变包

#

# processinstantiationbuttons definition

#

ProcessInstantiationManagementButtons=InstantiateProcess - ViewProcess ProcessDescription - ChangeProcessDefinition

InstantiateProcessLabel=初始化

InstantiateProcessImage=org/webdocwf/util/workflowclient/resources/new.gif

InstantiateProcessTooltip=根据过程的定义进行初始

ViewProcessLabel=查看

ViewProcessImage=org/webdocwf/util/workflowclient/resources/view.gif

ViewProcessTooltip=查看选择过程

ProcessDescriptionLabel=描述

ProcessDescriptionImage=org/webdocwf/util/workflowclient/resources/edit.gif

ProcessDescriptionTooltip=显示选中过程定义的描述

ChangeProcessDefinitionLabel=改变定义

ChangeProcessDefinitionImage=org/webdocwf/util/workflowclient/resources/changeprocessdefinition.gif

ChangeProcessDefinitionTooltip=改变并更新选中过程的定义

EnableDefinitionLabel=激活

EnableDefinitionImage=org/webdocwf/util/workflowclient/resources/unlock.gif

EnableDefinitionTooltip=激活选中过程定义的初始

DisableDefinitionLabel=禁止

DisableDefinitionImage=org/webdocwf/util/workflowclient/resources/lock.gif

DisableDefinitionTooltip=禁止选中过程定义的初始

#

# processmonitorbuttons definition

#

ProcessMonitorButtons=SuspendProcess ResumeProcess TerminateProcess AbortProcess - - - ProcessDescription - ProcessVariables - ActivityManagement

SuspendProcessLabel=挂起

SuspendProcessImage=org/webdocwf/util/workflowclient/resources/suspend.gif

SuspendProcessTooltip=挂起选中的过程

ResumeProcessLabel=唤起

ResumeProcessImage=org/webdocwf/util/workflowclient/resources/resume.gif

ResumeProcessTooltip=唤起选中的过程

TerminateProcessLabel=终止

TerminateProcessImage=org/webdocwf/util/workflowclient/resources/terminate.gif

TerminateProcessTooltip=停止选中的过程

AbortProcessLabel=中止

AbortProcessImage=org/webdocwf/util/workflowclient/resources/delete.gif

AbortProcessTooltip=中止选中的过程

ShowHistoryLabel=显示历史

ShowHistoryImage=org/webdocwf/util/workflowclient/resources/showhistory.gif

ShowHistoryTooltip=显示选中过程的历史事情

ProcessVariablesLabel=变量

ProcessVariablesImage=org/webdocwf/util/workflowclient/resources/updatevariables.gif

ProcessVariablesTooltip=更新过程变量

ActivityManagementLabel=活动管理

ActivityManagementImage=org/webdocwf/util/workflowclient/resources/properties.gif

ActivityManagementTooltip=管理活动状态

#

# manageactivitiesbuttons definition

#

ManageActivitiesButtons=SuspendActivity ResumeActivity TerminateActivity AbortActivity ManuallyStartActivity

SuspendActivityLabel=挂起

SuspendActivityImage=org/webdocwf/util/workflowclient/resources/suspend.gif

SuspendActivityTooltip=挂起选中的活动

ResumeActivityLabel=唤起

ResumeActivityImage=org/webdocwf/util/workflowclient/resources/resume.gif

ResumeActivityTooltip=唤起选中的活动

TerminateActivityLabel=终止

TerminateActivityImage=org/webdocwf/util/workflowclient/resources/delete.gif

TerminateActivityTooltip=终止选中的活动

AbortActivityLabel=中止

AbortActivityImage=org/webdocwf/util/workflowclient/resources/delete.gif

AbortActivityTooltip=中止选中的活动

ManuallyStartActivityLabel=人工启动

ManuallyStartActivityImage=org/webdocwf/util/workflowclient/resources/start.gif

ManuallyStartActivityTooltip=人工方式启动指定活动

#

# useraccountbuttons definition

#

UserAccountManagementButtons=CreateUserAccount RemoveUserAccount ChangeUserAccountSettings ChangeUserAccountPassword

CreateUserAccountLabel=新

CreateUserAccountImage=org/webdocwf/util/workflowclient/resources/new.gif

CreateUserAccountTooltip=创建新用户帐号

RemoveUserAccountLabel=删除

RemoveUserAccountImage=org/webdocwf/util/workflowclient/resources/delete.gif

RemoveUserAccountTooltip=删除选中用户

ChangeUserAccountSettingsLabel=设置

ChangeUserAccountSettingsImage=org/webdocwf/util/workflowclient/resources/edit.gif

ChangeUserAccountSettingsTooltip=设置选中用户信息

ChangeUserAccountPasswordLabel=密码

ChangeUserAccountPasswordImage=org/webdocwf/util/workflowclient/resources/edit.gif

ChangeUserAccountPasswordTooltip=改变选中用户密码

#

# usermappingbuttons definition

#

UserMappingManagementButtons=AddUserMapping RemoveUserMapping

AddUserMappingLabel=增加

AddUserMappingImage=org/webdocwf/util/workflowclient/resources/new.gif

AddUserMappingTooltip=加入参与者与用户的映射

RemoveUserMappingLabel=删除

RemoveUserMappingImage=org/webdocwf/util/workflowclient/resources/delete.gif

RemoveUserMappingTooltip=删除参与者与用户的映射

#

# reassign button (from workflowadmin->worklist management)

#

ReassignWorkitemLabel=重新委派

ReassignWorkitemImage=org/webdocwf/util/workflowclient/resources/reassign.gif

ReassignWorkitemTooltip=委派指定工作项给其它用户

#

# applicationmappingbuttons definition

#

ApplicationMappingManagementButtons=AddApplicationMapping RemoveApplicationMapping

AddApplicationMappingLabel=Add

AddApplicationMappingImage=org/webdocwf/util/workflowclient/resources/new.gif

AddApplicationMappingTooltip=Adds xpdl application to tool agent application mapping

RemoveApplicationMappingLabel=Remove

RemoveApplicationMappingImage=org/webdocwf/util/workflowclient/resources/delete.gif

RemoveApplicationMappingTooltip=Removes xpdl application to tool agent application mapping#

#

# worklistbuttons definition

#

WorklistButtons=CompleteWorkitem UpdateProcessVariables - WorkitemDescription

CompleteWorkitemLabel=完成

CompleteWorkitemImage=org/webdocwf/util/workflowclient/resources/complete.gif

CompleteWorkitemTooltip=完成选中的工作项

UpdateProcessVariablesLabel=更新变量

UpdateProcessVariablesImage=org/webdocwf/util/workflowclient/resources/updatevariables.gif

UpdateProcessVariablesTooltip=更新过程变量

WorkitemDescriptionLabel=描述

WorkitemDescriptionImage=org/webdocwf/util/workflowclient/resources/edit.gif

WorkitemDescriptionTooltip=显示选中工作项的描述

#

# reportmanagement buttons definition

#

ReportManagementButtons=

###############################################################################

# The possible states of activities

###############################################################################

NotOpenedKey=not opened

open.runningKey=open-running

open.not_running.not_startedKey=open-not running-not started

open.not_running.suspendedKey=open-not running-suspended

closed.completedKey=closed-completed

closed.terminatedKey=closed-terminated

closed.abortedKey=closed-aborted

#

# workflowclient Messages and misc

#

AcceptedKey=接受

AccountsKey=理由

ActiveProcessesKey=活动过程

ApplicationIdKey=应用标识

ApplicationNameKey=应用名称

ApplicationModeKey=应用模式

ApplyKey=应用

BooleanKey=真假

CancelKey=取消

CategoryKey=类别

CloseKey=关闭

ConfirmPasswordKey=确认密码

ConnectionIdKey=连接标识

ConnectKey=连接

DescriptionKey=描述

DisabledKey=禁用

DoubleKey=双精度实数

DurationKey=持续时间

EmailAddressKey=电子邮件地址

EnabledKey=激活

EngineContextKey=引掣环境

EnumerationKey=列举

ExitKey=退出

falseKey=假

FilePathRelativeToEngineRepositoryKey=相对于引掣库的文件路径

FinishStringsKey=结束字符串

IdKey=标识

IntegerKey=整数

InstantiatedProcessKey=初始过程

LoadKey=载入

LocationKey=场所

LoggedKey=已登录

LongKey=长整数

MappingKey=映射

NameKey=名称

NameServerHostKey=命名服务器

NameServerPortKey=端口

NewValueKey=新值

NoOfInstantiatedProcessesKey=初始过程的序号

NoOfProcessesKey=过程序号

NoneKey=无

NotLoggedKey=没登录

OKKey=确定

OldPasswordKey=旧密码

OpenedPackagesKey=打开的包

PackageKey=包

PackageIdKey=包标识

ParticipantIdKey=参与者标识

ParticipantKey=参与者

ParticipantNameKey=参与者名称

PasswordKey=密码

PollingPeriodKey=检测间隔[微秒]

PriorityKey=优先级

ToolAgentNameKey=工具代理名称

ApplicationMappingKey=应用映射

ProcessDefinitionKey=过程定义

ProcessKey=过程

PackageManagementKey=包管理

ParticipantIdKey=参与者标识

ProcessDefinitionIdKey=过程定义标识

ProcessIdKey=过程标识

ProcessInstantiationManagementKey=过程初始化管理

ProcessMonitorKey=过程监视器

ProcessNameKey=过程名

ProcessPropertiesKey=过程属性

PropertyKey=属性

ReassignToKey=重新委派给

ReportManagementKey=报表管理

RepositoryManagementKey=库管理

SelectActivityKey=选择活动

SelectApplicationKey=选择应用

SelectPackageKey=选择包

SelectParticipantKey=选择参与者

SelectProcedureKey=选择程序

SelectProcessDefinitionKey=选择过程定义

SelectProcessKey=选择过程

SelectUserKey=选择用户

StartedKey=已启动

StateKey=状态

StringKey=字符串

SubmittedKy=已提交

trueKey=真

TimeKey=Time

TypeKey=类型

UnknownKey=未知

UpdateKey=更新

UpdateVariableKey=更新变量

UserKey=用户

UserManagementKey=用户管理

UsernameKey=用户名

ValueKey=值

VersionKey=版本

XPDLErrorReportKey=XPDL 错误报告

WorkflowServerKey=工作流服务器

WorkitemKey=工作项

WorklistManagementKey=工作列表管理

DialogConnectToWorkflowServer=连接工作流服务器...

DialogCreateApplicationToProcedureMapping=创建应有与程序的映射

DialogCreateParticipantToUserMapping=创建参与者与用户的映射

DialogEventHistory=事情历史

DialogLoadPackage=加载包到引掣

DialogManageActivities=管理活动

DialogReassignWorkitem=重新委派工作项

DialogSetRefreshingRateInSeconds=设置刷新率(秒)

DialogSetUploadedPackageRelativeFilePath=设置已上传的包的相关文件路径

DialogUpdatePackage=更新选中的包

DialogUpdateProcessDefinition=更新过程定义

DialogUpdateProcessVariables=更新过程变量

DialogUserAccountSettings=用户帐号设置

ErrorCannotReassignAcceptedWorkitem=已接受的工作项不能被重新委派!

ErrorCannotUpdateInvalidProcess=无效的过程不能被更新,请更正!

ErrorCannotUploadSelectedPackageFileAtTheMoment=不能同时更新选中包的文件!

ErrorEnteredValueIsNotAllowed=确入值不正确!

ErrorNotConnectedToTheServer=连接服务器失败!

ErrorPasswordsDoNotMatch=你输入密码不匹配!

ErrorThePackageCannotBeLoadedAtTheMoment=同一包不能被同时载入!

ErrorSelectValidUser=选择有效用户 !

ErrorTheUpdateOfSelectedPackageIsNotAllowedAtTheMoment=选中的包不能同时被更新.\n请检查所有的活动过程是否都处于可被更新的状态 !

ErrorTheSelectedPackageCannotBeDeletedAtTheMoment=选中的包不能同时被删除!

ErrorTheSelectedPackageCannotBeUnloadedAtTheMoment=选中的包不能同时被卸载 !

ErrorTheServerIsDownOrItIsBusy=服务器已关闭和正忙-请稍后再试 !

ErrorTheServerIsPerformingCriticalOperationTryToShutdownLater=服务器正在执行一些重要操作,请稍后再关闭 !

ErrorTheUpdateOfSelectedPackageFailed=选中包的更新失败 !

ErrorTheUpdaterPackageIsInvalid='更新'包无效!

ErrorThePackageIsInvalid=包无效 !

ErrorTheOneOfTheExternalPackagesIsInvalid=外部包中的这个无效 !

ErrorUncorrectLogin=不正确登录, 请重试!

ErrorUncorrectType=不正确类型 !

MessageActivityCannotBeAborted=活动不能被中止 !

MessageActivityIsAborted=活动已中止 !

MessageActivityCannotBeSuspended=活动不能被挂起!

MessageActivityIsSuspended=活动已挂起!

MessageActivityCannotBeResumed=活动不能被唤起 !

MessageActivityIsResumed=活动已唤起 !

MessageActivityCannotBeTerminated=活动不能被终止 !

MessageActivityIsTerminated=活动已中止 !

MessageCannotChangeSettingsOfUserRetreivedFromLDAP=从LDAP服务器获取的用户信息不能被修改 !

MessageChoosePackageFileToUpload=选择你想载入引掣库的包文件...

MessageDoYouWantToUpdateProcessVariables=你确认要更新你的过程变量吗 ?

MessageMappingAlreadyExistsOrCannotBeAddedAtTheMoment=映射已存在, 或者不能同时加入映射 !

MessageMappingCannotBeRemovedAtTheMoment=映射不能被同时删除!

MessagePackageIsReferencedDoYouWantToProceed=包已被引用 !!! \n你确认要进行吗???

MessagePleaseWait=请稍候 !!!

MessageProcessCannotBeResumed=过程不能被唤起(也许它已经被作为某个活动作为子过程启动) !

MessageUsernameAlreadyExistsOrAccountCannotBeCreatedAtTheMoment=用户名已存在, 或者同一帐号不能被同时创建!

MessageUserAcountCannotBeRemovedAtTheMoment=同一用户不能被同时删除, 或者这个用户是LDAP中的用户 !

QuestionDoYouReallyWantToDeleteThePackageFileFromTheRepository=你确定要从库中删除这个包文件吗 ???

QuestionDoYouReallyWantToRemoveUserAccount=你确定要删除这个用户吗 ???

WarningCannotAcceptSuspendedWorkitem=挂起的工作项不能被接受 !

WarningProcessInstantiationForSelectedDefinitionIsCurrentlyDisabled=选中定义过程的初始化目前被禁止 !

WarningTheWorkitemCannotBeCompleted=工作项不能被完成- 它不是被挂起就是被结束(更新你的工作列表) !

WarningTheWorkitemIsPerformedByAnotherUser=工作项已被其它用户执行 !

WarningTheWorkitemMustBeAcceptedBeforeExecution=工作项完成前必须被接受, 请先接受工作项 !

WarningTheWorkitemMustBeAcceptedBeforeVariableUpdate=工作项变量更新前必须被接受, 请先接受工作项!

    

skyleaf24
2003-11-19 11:52
和jawe一样,也是enhydra里的开源项目。

http://shark.enhydra.org/

banq
2003-11-26 23:08
能否详细谈谈,和OFBiz等有什么不同,它的特点和你认为理想之处在哪里?

skyleaf24
2003-11-28 15:00
呵呵,终于有人应了。

我现在没有再做工作流方面的工作,所以没有深入。已经把shark的信息发给浆糊了,希望他有空时能弄点说明出来给我们饱饱眼。

个人觉得如果希望在旧有系统中集成工作流的功能,shark(engine)+jawe(designer)是个不错的选择,一是因为它们属于同一开源阵营,兼容性会好一点;二是shark除了实现工作流引掣的核心功能外,还提供了初步的测试工具。(是c/s的,稍加改动就可以用于集成到别的c/s产品中)

ofbiz workflow engine:

当初对它期望很高,但是事后觉得抽离ofbiz workflow engine为我所有,不是件很easy的事情。也许实际做项目的时候,你会发现抽离ofbiz里功能比你重写类似功能花的事情还要多,至少后来我修改另一个不健全的工作流引掣花得时间要少很多――学习ofbiz,抽离工作流引掣:7天:失败;修改某个workflow engine(当然,修改后的引掣虽然符合了项目的要求,但功能比ofbiz的引掣要弱),写业务层次的处理程序:1.5天:完成。

tozhy
2003-12-01 10:34
有兴趣,希望能看到更多的资料。。

猜你喜欢
6Go 1 2 3 4 ... 6 下一页