q种情况当然是在U程中发生的Q发生后q行时大师就?x)根据当前情冉|造一throwable实例Q然后寻找本U程要{到哪个点上去l箋q行。这到底是哪个点Q这个意愿当然还得我们程序员通过java language specificationl出命o(h)信息。我们的意愿不一定非要写出来Q有一个是U定好的Q异怼播蟩出前释放同步块的锁。那么如果运行时大师扑ֈ了这个点Q就?x)安排本U程l箋从这个点q行Q找不到Q那么运行时大师׃(x)把该U程杀了。杀之前先执行它?span>threadgroup?span style="COLOR: black">uncaughtExceptionҎ(gu)里我们表辄意愿。注意不是在那个点q是q个Ҏ(gu)Q我们都有机?x)表辑֯那?/span>throwable实例怎么怎么L(fng)x?span>
]]>BPMN-BPD-introduce部分译截取http://www.tkk7.com/baixch/articles/62753.html英雄英雄Thu, 10 Aug 2006 03:33:00 GMThttp://www.tkk7.com/baixch/articles/62753.htmlhttp://www.tkk7.com/baixch/comments/62753.htmlhttp://www.tkk7.com/baixch/articles/62753.html#Feedback0http://www.tkk7.com/baixch/comments/commentRss/62753.htmlhttp://www.tkk7.com/baixch/services/trackbacks/62753.htmlIntroduction to BPMN Stephen A. White, IBM Corporation Abstract This paper is intended to provide a high-level overview and introduction to the Business Process Modeling Notation (BPMN). The context and general uses for BPMN will be provided as a supplement to the technical details defined the BPMN 1.0 Specification, which has been recently completed and released to the public. The basics of the BPMN notation will be discribed—that is, the types of graphical objects that comprise the notation and how they work together as part of a Business Process Diagram. Also discussed will be the different uses of BPMN, including how levels of precision affect what a modeler will include in a diagram. Finally, the value in using BPMN as a standard notation will be defined and the future of BPMN outlined. What Is BPMN? The Business Process Management Initiative (BPMI) has developed a standard Business Process Modeling Notation (BPMN). The BPMN 1.0 specification was released to the public in May, 2004. This specification represents more than two years of effort by the BPMI Notation Working Group. The primary goal of the BPMN effort was to provide a notation that is readily understandable by all business users, from the business analysts that create the initial drafts of the processes, to the technical developers responsible for implementing the technology that will perform those processes, and finally, to the business people who will manage and monitor those processes. BPMN will also be supported with an internal model that will enable the generation of executable BPEL4WS. Thus, BPMN creates a standardized bridge for the gap between the business process design and process implementation. BPMN defines a Business Process Diagram (BPD), which is based on a flowcharting technique tailored for creating graphical models of business process operations. A Business Process Model, then, is a network of graphical objects, which are activities (i.e., work) and the flow controls that define their order of performance. BPMN Basics A BPD is made up of a set of graphical elements. These elements enable the easy development of simple diagrams that will look familiar to most business analysts (e.g., a flowchart diagram). The elements were chosen to be distinguishable from each other and to utilize shapes that are familiar to most modelers. For example, activities are rectangles and decisions are diamonds. It should be emphasized that one of the drivers for the development of BPMN is to create a simple mechanism for creating business process models, while at the same time being able to handle the complexity inherent to business processes. The approach taken to handle these two conflicting requirements was to organize the graphical aspects of the notation into specific categories. This provides a small set of notation categories so that the reader of a BPD can easily recognize the basic types of 注释结QMicrosoft Word - BPMN Introductory White Paper.doc 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 摘要Q?br />本文目的在于提供一份关于BPMN的概括性介l。包括BPMN的来历,应用Q基本概--?在BPD图中元素各自的意义,和彼此的关系。同?br />也包括针对不同的应用Q对囑Ş元素的用量水^也有一个水q界定。最后,使B用PMN的h(hun)值和BPMN未来前景?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 BPMI开发的BPMN?.0规范已经?004.5发布。大U是2q的努力。主要目的是提供一个统一的概念,而这个概念可以让所有的用户?br />理解Q包括工作流E设计者,开发者,使用B者PM。N有一个内部模拟高_(d)可以产生可执行的BPEL4WS.MQBPMN为流E设计和实现搭徏 了一个标准的桥梁?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 BPMN定义了一个BPDQ这是一个用来表C工作流的图形化模型。一个工作流定义Q因此,使一个诸多图形元素的|络图,每一个元素描q?br />一个工作实体,关系代表了执行顺序等程控制?br />Introduction to BPMN 2 elements and understand the diagram. Within the basic categories of elements, additional variation and information can be added to support the requirements for complexity without dramatically changing the basic look-and-feel of the diagram. The four basic categories of elements are: Flow Objects Connecting Objects Swimlanes Artifacts Flow Objects A BPD has a small set of (three) core elements, which are the Flow Objects, so that modelers do not have to learn and recognize a large number of different shapes. The three Flow Objects are: Event An Event is represented by a circle and is something that “happens?during the course of a business process. These Events affect the flow of the process and usually have a cause (trigger) or an impact (result). Events are circles with open centers to allow internal markers to differentiate different triggers or results. There are three types of Events, based on when they affect the flow: Start, Intermediate, and End (see the figures to the right, respectively). Activity An Activity is represented by a rounded-corner rectangle (see the figure to the right) and is a generic term for work that company performs. An Activity can be atomic or nonatomic (compound). The types of Activities are: Task and Sub-Process. The Sub-Process is distinguished by a small plus sign in the bottom center of the shape. Gateway A Gateway is represented by the familiar diamond shape (see the figure to the right) and is used to control the divergence and convergence of Sequence Flow. Thus, it will determine traditional decisions, as well as the forking, merging, and joining of paths. Internal Markers will indicate the type of behavior control. Table 1: Core BPD Flow Objects 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 一个BPD是由一个图形元素的集合l成的一个图。这些图形化元素对大多数工作设计者非常熟(zhn)。用这些元素徏立工作流非?br />Ҏ(gu)。不同种cȝ元素以不同的囑Ş区别表示。比如工作实体是一个矩形。判断时一个菱形。有一点强调下QBPMN的开发就是要?br />工作模型的创徏Q而同时又要可以能处理工作本w的复杂性。鱼和熊掌兼得的解决之道即ؓ(f)q些囑Ş元素分类。这PZ很少?br />囑Ş元素分类Q一个BPD的读者能够很Ҏ(gu)地识别理解工作流图。有了基本分c,对图形的额外信息补充也会(x)保持整体感?U基本分c:(x) 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 BPD?个核心对象,建模者甚xd了解更多对象?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 event用一个圈表示Q代表在程中发生的事g。event影响工作程。通常有一个trigger(触发原因)和impactQ结果)Q在圈中间可以做?br />内部标记来区分。基于何时媄响工作流Q有3Uevent分别代表开始,中间Q结束?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 一个工作实体由一个圆角矩形代表。指具体某一个工作环节。可以原子性,也可以是复合式。又分ؓ(f)两类QQ务,子流E。子程在底 部中央以+标记?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 gateway使用菱Ş代表Q用来描q分支或汇怅R因此,用来表示军_Q分支,汇总,联结。可做内部标记来区别?br />Introduction to BPMN 3 Connecting Objects The Flow Objects are connected together in a diagram to create the basic skeletal structure of a business process. There are three Connecting Objects that provide this function. These connectors are: Sequence Flow A Sequence Flow is represented by a solid line with a solid arrowhead (see the figure to the right) and is used to show the order (the sequence) that activities will be performed in a Process. Note that the term “control flow?br />is generally not used in BPMN. Message Flow A Message Flow is represented by a dashed line with an open arrowhead (see the figure to the right) and is used to show the flow of messages between two separate Process Participants (business entities or business roles) that send and receive them. In BPMN, two separate Pools in the Diagram will represent the two Participants. Association An Association is represented by a dotted line with a line arrowhead (see the figure to the right) and is used to associate data, text, and other Artifacts with flow objects. Associations are used to show the inputs and outputs of activities. Table 2: BPD Connecting Elements For modelers who require or desire a low level of precision to create process models for documentation and communication purposes, the core elements plus the connectors will provide the ability to easily create understandable diagrams (see Figure 1). Figure 1: An Example of a Simple Business Process For modelers who require a higher level of precision to create process models, which will be subject to detailed analysis or will be managed by Business Process Management System (BPMS), additional details can be added to the core elements and shown through internal markers (see Figure 2). 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 flow object们被q里的connecting object们连接v来描q整个工作流框架。有3cconnecting objectQ?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 sequence flow用实U箭头表C,描述了工作实体在程中的执行序?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 message flow一个虚U箭头表C,描述程参与者间的信息传递。在BPMN中,两个分离的Pool代表两个参与者?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 association用来对flow object来进行data,text,或其他Artifacts的关联。用来显C工作实体的输入输出?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 对于低水q的应用Q这两类元素_了?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 对于高水q的Q则可以再添加细节?br />Introduction to BPMN 4 Figure 2: A Segment of a Process with more Details Swimlanes Many process modeling methodologies utilizes the concept of swimlanes as a mechanism to organize activities into separate visual categories in order to illustrate different functional capabilities or responsibilities. BPMN supports swimlanes with two main constructs. The two types of BPD swimlane objects are: Pool A Pool represents a Participant in a Process. It is also acts as a graphical container for partitioning a set of activities from other Pools (see the figure to the right), usually in the context of B2B situations. Lane A Lane is a sub-partition within a Pool and will extend the entire length of the Pool, either vertically or horizontally (see the figure to the right). Lanes are used to organize and categorize activities. Table 3: BPD Swimlane Objects Pools are used when the diagram involves two separate business entities or participants (see Figure 3) and are physically separated in the diagram. The activities within separate Pools are considered self-contained Processes. Thus, the Sequence Flow may not cross the boundary of a Pool. Message Flow is defined as being the mechanism to show the communication between two participants, and, thus, must connect between two Pools (or the objects within the Pools). 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 许多程建模Ҏ(gu)使用swimlanes q个概念来以囄形式划分工作实体Q以此描q功能或责Q者划分。BPMN在两斚w支持q个概念Q?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 pool代表一个工作流E中的参与者划分?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 lane是pool的子划分Q可能因而扩展了pool的长度或高度。用来划分工作实体?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 当需要划分描qC同工作或参与者时使用pool。在一个pool的实体被认ؓ(f)是自包含的工作流E。因此sequence flow不能跨越边界。?br />message fow则可以跨?br />Introduction to BPMN 5 Figure 3: An Example of a BPD with Pools Lanes are more closely related to the traditional swimlane process modeling methodologies. Lanes are often used to separate the activities associated with a specific company function or role (see Figure 4). Sequence Flow may cross the boundaries of Lanes within a Pool, but Message Flow may not be used between Flow Objects in Lanes of the same Pool. Figure 4: A Segment of a Process with Lanes 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 而lane则更接近于传l的机制。常被用来划分一个具体的功能或角艌Ӏsequence flow可以跨越边界Q但是message flow可能q不着 了?br />Introduction to BPMN 6 Artifacts BPMN was designed to allow modelers and modeling tools some flexibility in extending the basic notation and in providing the ability to additional context appropriate to a specific modeling situation, such as for a vertical market (e.g., insurance or banking). Any number of Artifacts can be added to a diagram as appropriate for the context of the business processes being modeled. The current version of the BPMN specification pre-defines only three types of BPD Artifacts, which are: Data Object Data Objects are a mechanism to show how data is required or produced by activities. They are connected to activities through Associations. Group A Group is represented by a rounded corner rectangle drawn with a dashed line (see the figure to the right). The grouping can be used for documentation or analysis purposes, but does not affect the Sequence Flow. Annotation Annotations are a mechanism for a modeler to provide additional text information for the reader of a BPMN Diagram (see the figure to the right). Table 4: BPD Artifact Elements Modelers can create their own types of Artifacts, which add more details about how the process is performed—quite often to show the inputs and outputs of activities in the Process. However, the basic structure of the process, as determined by the Activities, Gateways, and Sequence Flow, are not changed with the addition of Artifacts in the diagram; as you can see by comparing Figure 4 and Figure 5. 面Q? 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 上面提到的BPMN的灵zL展性在q里体现。就是artifact可以L加入到这个流E图中来。BPMN的目前版本预定义?U:(x) 作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 data object用来描述工作实体需要或产生了什么数据的。用associationq接?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 一个虚U围成的矩ŞQ用来生成文档或辅助分析{,q不影响实际程?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 annotation用来d文本信息Q以帮助reader来看图?br />作者:(x)Administrator 主题Q附?br />日期Q?006-8-10 11:10:42 建模者可以随意加些自定义cd的actifacts---常常用来描述工作实体的输入输出。但是,工作程不会(x)受媄响?img src ="http://www.tkk7.com/baixch/aggbug/62753.html" width = "1" height = "1" />