PowerFolder 工作流服务器版本0.5 试驾之旅(1)

类别:Java 点击:0 评论:0 推荐:

PowerFolder

Workflow Server Version 0.5

Test Drive

By Gary Steinmetz


PowerFolder 工作流服务器版本0.5 试驾之旅
作者: 盖瑞。史太恩米特
译者: Helloworld2004
翻译日期: 2004年11月13日


Introduction 介绍
 1.1 Overview 概述
Workflow represents defined processes within businesses and elsewhere. Examples of these
processes are an employee requesting and being approved for vacation time-off, submission of a
purchase request, and an automated system for keeping inventory within a specified range.
工作流表示了在业务内部和其他地方定义工作流程。这些流程的例子是:一个职员提
出休假要求,然后被批准;发送一个购买要求,然后一个自动处理系统在一个指定范围内
保存库存清单。

PowerFolder is a workflow server. Simply speaking, it's a set of Java components bundled with
other open source software. It is open source and distributed under LGPL (Limited GNU Public
License).
PowerFolder是一个工作流服务器。简单说来,它是一组与其他开源软件一起打包的
Java组件。它是开放源代码的,在LGPL协议许可的前提下发布。

 1.2 About This Version 关于此版本
 1.2.1 Purpose 目的
Development of Power Folder began August 2001. This version is functional and capable of
developing and running each of these test-drives (i.e. test cases). In fact the below examples were
developed completely within the Power Folder framework. Beyond a little JSP scripting (using
just one variable - 'client'), logic flow, and simple variables (just 3 types - Boolean, Decimal, and
String), no in-depth programming knowledge is required (e.g. object-oriented concepts,
compiling, persistence).
PowerFolder的开发始于2001年8月。这个版本是有效的,而且可供开发,可以运行
每个测试运行(或者说测试案例)。实际上,下面的例子都是完全在PowerFolder框架内
部开发的。除了很少一点JSP脚本 (仅仅用了一个变量—client),逻辑流程,和简单的
变量(只有3种类型-布尔,双精度和字符串),需要一些并不深入的编程知识。(例如
面向对象的概念,编译,持久性)

 This is version 0.5 and a beta at that. So why release it? Two reasons - feedback and promotion.
First, workflow products intend to model a wide array of real-life situations, some very nuanced.
With feedback, the direction and 'what's-important' will become a lot clearer. Second, generating
community and peer interest is a vital part of any software project.
这是版本0.5而且是一个beta版本。那么为什么要发布它呢?两个原因--寻求反馈
和鼓励。首先,工作流产品设计用来为大量的现实生活情景来建模,一些非常复杂。具有
反馈的话,开发方向和"何为重要的"将变得更加清楚。第二,产生交互和兴趣是任何软
件项目的灵魂部分。
While the examples below 'just' display messages to the command console and have a rather
generic user interface, the fundamentals of a workflow system are in place - state management,
multi-path execution, external interaction, etc. In addition, you can configure the mail server and
use the 'Send Simple Email' workflow tag instead of 'Print To Console' workflow tag to add
flavor to your workflows.
虽然下面的例子"仅仅"向命令控制台显示消息,而且有一个相当普通的用户界面,
一个工作流系统的基础已经成型了--状态管理,多路径执行,外部交互,等等。另外,你
可以配置邮件服务器和使用"发送简单邮件"工作流标志,而不仅仅是"打印到控制台"工
作流标志来对你的工作流增加乐趣。

 1.2.2 Considerations 注意事项
 1.2.2.1 This Document  此文档
1) Pay Attention to Letter Case - whether it's 'JAVA_HOME' or
'http://localhost:8080/powerfolder/login', uppercase should be uppercase and lowercase should
be lowercase.
注意大小写敏感--无论是'JAVA_HOME' 还是 'http://localhost:8080/powerfolder/
login',大写应该是大写,小写应该是小写。

2) Type What is in the Single Quotes, But Not the Single Quotes Themselves - like the letter
case examples above, single quotes just demarcate the content you are supposed to type.
输入在单引号之内的,而不是单引号本身-就象上面例子种一样, 单引号仅仅用来指
示你应该录入内容。

 1.2.2.2 This Version 此版本
1) It's A Beta For A Reason - this software should be exclusively used in a non-critical,
unimportant capacity. Clearly understand the terms stated in the license.
它是一个Beta产品,出于一个原因--这个软件应该仅仅被用在一个非关键性,非重
要的场合。对这一条件的解释清晰的写在许可证中。

2) When Using the Script or Web Page Studios, Don't Press the Back Button on Your Browser -
this will disrupt your session. Use the 'Cancel' button to go back to the PowerFolder Console
instead.
当使用脚本或者网页工作台时,不要按你浏览器上的回退按钮,这样将会破坏你的会
话。作为代替,使用"取消"按钮来回到PowerFolder的控制台。

3) Applications Are Unsecure - the test cases below use 'http', not 'https'. More importantly,
logging into the PowerFolder console will send the username and password over your network as
clear text. In addition, the persistence store does not encrypt data.
应用是不安全的—测试例子是在http,而不是https。更重要的是,登录进入
PowerFolder控制台将把你的用户名和口令作为空白文本在网络上传输。另外,持久性存
储也没有加密数据。

4) Don't Deploy More Than One Script At Once - there is no priority assigned to scripts in this
version. Having more than one script deployed at once will lead to unpredictable behavior.
不要同时发布多于一个脚本--在这个版本中没有指定脚本的优先级。同时发布超过一
个脚本可能导致不可预测的行为。

5) If You See a 'Connection Reset By Peer Exception' in Your Console, Ignore It - this is related
to the interaction between Internet Explorer and the servlet responsible for rendering the process
map as an image.
如果你在控制台看到"连接复位,由于点异常",忽略它--这是由于IE浏览器和负
责将流程图作为一个图形发送的servlet之间交互引起的。

6) Don't Query Against Decimal Or Boolean Attributes on the Workflow Query Page - the
persistence store will throw an exception. This is being looked into.
不要在Workflow查询页利用数值或者布尔属性查询--持久存储将抛出异常。这个问
题正在关注。

7) Clear the Persistence Store from Time to Time - as a workflow progresses from state to state,
older (though inactive) snapshots of the workflow have a tendency to remain in the queue. This
is being looked into.
不时清除持久性存储—当一个工作流从一个状态到一个状态时,工作流旧的快照(尽
管不在活动)仍然有一个趋势继续留在队列中。这个问题正在关注。

8) Use Sun's JDK - there is no Java standard for rendering JPEG images. The code responsible
for rendering the process maps use the classes specific to Sun.
使用Sun的JDK—没有任何Java标准来生成JPEG图像。负责生成流程图的代码使用
了Sun的特定类。

9) Don't Call the Same 'client' Function More Than Once on the Same Line - while this will not
affect the runtime functionality of a web page, it will confuse the 'Preview' feature of
PowerFolder Web Page Studio.
不要在同一行调用同一个client功能超过一次 –尽管这并不影响一个Web页面的运
行功能,它将使PowerFolder Web Page工作台的"预览"功能变得混乱。

 1.2 System Requirements, Installation, Enabling Email 系统
需求 ,安装,使用Email
Please visit http://www.powerfolder.org for more information.
请访问http://www.powerfolder.org来寻找更多信息。

 1.3 License and Trademark Information 许可证和商标信息
PowerFolder and jBoss are distributed under the LGPL (Limited Gnu Public License). More
information can be found at http://gnu.org.
PowerFolder 和jBoss在LGPL协议下发布。更多信息可以在http://gnu.org找到。

Tomcat, James, and Tomcat-RegEx are developed by the Apache Software Foundation
(http://www.apache.org/) and are Copyright (c) 2001 The Apache Software Foundation. They are
distributed under the Apache Software License.
Tomcat, James, and Tomcat-RegEx 是由Apache软件基金会开发的,版权归于
Copyright (c) 2001 The Apache Software Foundation.它们根据Apache软件协议来发
布。
Java and J2EE are trademarks of Sun Microsystems.
Java and J2EE是Sun Microsystems的商标。

Windows and Internet Explorer are trademarks of Microsoft.
Windows and Internet Explorer是Microsoft的商标。

本文地址:http://com.8s8s.com/it/it13564.htm