[jbpm-cvs] jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help ...

Koen Aers <[email protected]> Sat, 25 Oct 2008 02:04:52 -0400
Newsgroups gmane.comp.jbpm.cvs
Message-ID <[email protected]>
  User: kaers   
  Date: 08/10/25 02:04:52

  Added:       designer/jpdl/org.jbpm.gd.jpdl.help             Tag:
                        branch_jbpm_jpdl_gpd_3_1_x
                        jboss_jbpm_runtime_installation.html
                        The_JBoss_jBPM_Int_Mech.html toc.xml
                        Test_Drive_Proc_Development.html .project
                        build.properties GuidedTourJBossjBPMGPD.html
                        TargetAudience.html index.html plugin.xml
                        Quick_Howto_Guide.html the_views.html
  Log:
  new org.jbpm.gd.jpdl.docs and org.jbpm.gd.jpdl.help projects
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +18 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/jboss_jbpm_runtime_installation.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: jboss_jbpm_runtime_installation.html
  ===================================================================
  RCS file: jboss_jbpm_runtime_installation.html
  diff -N jboss_jbpm_runtime_installation.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ jboss_jbpm_runtime_installation.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,18 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 2. JBoss jBPM Runtime Installation</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, designer, process, JBoss Developer Studio, jBPM runtime"/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="TargetAudience.html" title="Chapter 1. Introduction"/><link rel="next" href
 ="GuidedTourJBossjBPMGPD.html" title="Chapter 3. A Guided Tour of JBoss jBPM GPD"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td wid!
 th="20%" align="left" class="previous"><a accesskey="p" href="TargetAudience.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="GuidedTourJBossjBPMGPD.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="jboss_jbpm_runtime_installation"/>Chapter 2. JBoss jBPM Runtime Installation</h2></div></div></div><p>The main purpose of this chapter is to let you know how to launch the <span class="property">JBoss
  +  jBPM</span> (business process management).</p><p>The jBPM plugin (jBPM Designer) is already included in the <span class="property">JBoss Tools</span>.
  +  To make it work, you should only download the jBPM runtime (<a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://sourceforge.net/project/showfiles.php?group_id=70542&amp;package_id=145174&amp;release_id=539054s">jbpm-jpdl-3.2.2</a> currently) and specify the directory where you extracted the runtime
  +  either when you create a jBPM project or by using the jBPM preference pages.</p><div xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class="note"><h2>Note:</h2><p>Try to avoid using spaces in the names of installation folders. It can provoke problems in
  +   some situations with Sun-based VMs.</p></div><p>Navigate to <span class="emphasis"><em>
  +   <span class="property">Window &gt; Preferences &gt; JBoss jBPM &gt; Runtime Locations</span>.
  +  </em></span> Here you can add, edit and remove JBoss jBPM installation locations. Click <span class="emphasis"><em>
  +   <span class="property">Add</span>
  +  </em></span> button. In the dialog that appeared enter a name for a newly added jBPM runtime and
  +  point to the correct location of this package on your harddrive. Click <span class="emphasis"><em>
  +   <span class="property">OK</span>
  +  </em></span> then click <span class="emphasis"><em>
  +   <span class="property">OK</span>
  +  </em></span> again.</p><div class="figure"><a id="d0e258"/><div class="figure-contents"><div class="mediaobject"><img src="images/runtime_installation/runtime_installation_1.png" alt="Adding jBPM Location"/></div></div><p class="title"><b>Figure 2.1. Adding jBPM Location</b></p></div><br class="figure-break"/><p>Now, when you have a runtime installed, we are going to demonstrate some powerful features of
  +  the jBPM.</p></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="TargetAudience.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> <a accesskey="n" href="GuidedTourJBossjBPMGPD.html">Next</a></td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.2.1   +80 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/The_JBoss_jBPM_Int_Mech.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: The_JBoss_jBPM_Int_Mech.html
  ===================================================================
  RCS file: The_JBoss_jBPM_Int_Mech.html
  diff -N The_JBoss_jBPM_Int_Mech.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ The_JBoss_jBPM_Int_Mech.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,80 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 6. Actions : The JBoss jBPM Integration Mechanism</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, , , , "/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="Test_Drive_Proc_Development.html" title="Chapter 5. Test Driven Process Development"/><link rel="next" href="
 Quick_Howto_Guide.html" title="Chapter 7. Quick Howto Guide"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left"!
  class="previous"><a accesskey="p" href="Test_Drive_Proc_Development.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="Quick_Howto_Guide.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="The_JBoss_jBPM_Int_Mech"/>Chapter 6. Actions : The JBoss jBPM Integration Mechanism</h2></div></div></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="The_JBoss_jBPM_Int_Mech.html#d0e1035">6.1. Creating a Hello World Action</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class=
 "section"><a href="The_JBoss_jBPM_Int_Mech.html#d0e1149">6.2. Integrating the Hello World Action</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section!
 "><a href="The_JBoss_jBPM_Int_Mech.html#d0e1254">6.3.  Integration Poi
nts</a></span></dt></dl></div><p> In this chapter we will show how to do software integration with <span class="property">JBoss
  +        jBPM</span>. The standard mechanism to implement this is to wrap the functionality you
  +        want to integrate in a class that implements the <span class="emphasis"><em>
  +            <span class="property">ActionHandler</span>
  +        </em></span> interface. In order to demonstrate it let's specify Hello World action for our
  +        process.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="d0e1035"/>6.1. Creating a Hello World Action</h2></div></div></div><p>Each Hello World process should integrate one or more Hello World actions, so this is
  +            what we will be doing. We can integrate custom code at different points in the process
  +            definition. To do this we have to specify an action handler, represented by an
  +            implementation of the <span class="emphasis"><em>
  +                <span class="property">ActionHandler</span>
  +            </em></span> interface, and attach this piece of code to a particular event. These events
  +            are amongst others, going over a transition, leaving or entering nodes, after and before
  +            signalling. </p><p> To make things a little bit more concrete, let's create a new class called <span class="emphasis"><em>
  +                <span class="property">HelloActionHandler</span>.
  +            </em></span> For that firstly we'll create a new package <span class="emphasis"><em>
  +                <span class="property">com.jbay.action</span>
  +            </em></span> in the <span class="emphasis"><em>
  +                <span class="property">src/java/main</span>
  +            </em></span> folder of our project. Then, we should call New Class Creation wizard as
  +            usual by right-clicking and navigating <span class="emphasis"><em>
  +                <span class="property">New &gt; Class</span>.
  +            </em></span> </p><div class="figure"><a id="d0e1072"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_1.png" alt="Creating HelloActionHendler Class"/></div></div><p class="title"><b>Figure 6.1. Creating HelloActionHendler Class</b></p></div><br class="figure-break"/><p>Notice that two first gaps have been filled automatically. Here, instead of <span class="emphasis"><em>
  +                <span class="property">Package</span>
  +            </em></span> option <span class="emphasis"><em>
  +                <span class="property">Enclose type</span>
  +            </em></span> option can be selected where a type in which to enclose a new class should
  +            be specified.</p><p>In our case, we leave everything as it is, just type <span class="emphasis"><em>
  +                <span class="property">HelloActionHandler</span>
  +            </em></span> as a name of new class and add <span class="emphasis"><em>
  +                <span class="property">org.jbpm.graph.ActionHendler</span>
  +            </em></span> interface as it's shown in the picture above.</p><p>Thus, our <span class="emphasis"><em>
  +                <span class="property">HelloActionHandler</span>
  +            </em></span> implements the <span class="emphasis"><em>
  +                <span class="property">ActionHandler</span>
  +            </em></span> interface including the <span class="emphasis"><em>
  +                <span class="property">execute</span>
  +            </em></span> method as shown in the next figure. Here, we add a variable named <span class="emphasis"><em>
  +                <span class="property">greeting</span>
  +            </em></span> to the collection of process variables and put     a message in it :
  +                <span class="emphasis"><em>"Hello from ActionHandler"</em></span>. </p><div class="figure"><a id="d0e1135"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_2.png" alt="A Simple Hello Action"/></div></div><p class="title"><b>Figure 6.2. A Simple Hello Action</b></p></div><br class="figure-break"/><p>Now, as we have <span class="emphasis"><em>
  +                <span class="property">HelloActionHandler</span>
  +            </em></span> class defined, let's explore how we can handle it.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="d0e1149"/>6.2. Integrating the Hello World Action</h2></div></div></div><p>The main purpose of this chapter is to provide you with the steps associating our
  +            Hello World action with a particular event and test the correctness of our actions as
  +            well.</p><p> As good Testcity citizens we will first create a Unit Test that proves the behaviour
  +            we want to achieve by adding the <span class="emphasis"><em>
  +                <span class="property">ActionHandler</span>
  +            </em></span> to the process. So we implement another test.</p><p>At first, let's return to the
  +               code we already saw <a href="Test_Drive_Proc_Development.html#hello_test" title="Figure 5.6. A First Test Scenario">in the previous chapter</a> and add new test method <span class="emphasis"><em>
  +                   <span class="property">testActionHendler</span></em></span> to it. </p><div class="figure"><a id="d0e1172"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_3.png" alt="Create the Hello Action Test"/></div></div><p class="title"><b>Figure 6.3. Create the Hello Action Test</b></p></div><br class="figure-break"/><p>We assert
  +            that no variable called <span class="emphasis"><em>
  +                <span class="property">greeting</span>
  +            </em></span> exist. Then we give the process a signal to move it to the auction state. We
  +            want to associate the execution of the action with the event of going over the
  +            transition from the start state to the auction state. So after the signal, the process
  +            should be in the auction state as in the previous scenario. But moreover, the <span class="emphasis"><em>
  +                <span class="property">greeting</span>
  +            </em></span> variable should exist and contain the string <span class="emphasis"><em>"Hello from
  +            ActionHandler"</em></span>. That's what we assert in the last lines of the test
  +            method.</p><p> Running the tests now results in a failure. The point is that we did not associate
  +            the action with any particular event in the process definition, so the process variable
  +            did not get set. </p><div class="figure"><a id="d0e1197"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_4.png" alt="Test Results Before Integration"/></div></div><p class="title"><b>Figure 6.4. Test Results Before Integration</b></p></div><br class="figure-break"/><p> Let's do something about it and add an action to the first transition of our
  +            sample process. To do this you can use the Actions tab in the Properties Editor that is
  +            under the graphical canvas. Bring up the popup menu of the action element container and
  +            chose New Action as it's shown on the figure below. The other way to add an action
  +            to the transition is simply to use the dropdown menu that is available under the action
  +            icon in the right upper corner of the Properties View.</p><div class="figure"><a id="d0e1205"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_5.png" alt="Adding an Action to a Transition"/></div></div><p class="title"><b>Figure 6.5. Adding an Action to a Transition</b></p></div><br class="figure-break"/><p>After adding the action a tabbed view with three pages will appear.</p><div class="figure"><a id="d0e1213"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_6.png" alt="Configuration Dialog for an Action"/></div></div><p class="title"><b>Figure 6.6. Configuration Dialog for an Action</b></p></div><br class="figure-break"/><p>The first of
  these three pages allows you to give the Action a name. The last page
  +            contains some advanced attributes such as whether the Action is asynchronous. The
  +            Details page is the most important. It allows to choose and configure the actual action
  +            handler implementation. </p><div class="figure"><a id="d0e1221"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_7.png" alt="The Details page of an Action Configuration Dialog"/></div></div><p class="title"><b>Figure 6.7. The Details page of an Action Configuration Dialog</b></p></div><br class="figure-break"/><p>Clicking on the <span class="emphasis"><em>
  +                <span class="property">Search...</span>
  +            </em></span> button brings us to a Choose Class dialog.</p><div class="figure"><a id="d0e1235"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_8.png" alt="The Choose Action Handler Dialog"/></div></div><p class="title"><b>Figure 6.8. The Choose Action Handler Dialog</b></p></div><br class="figure-break"/><p> We choose our previously created 'HelloActionHandler' class and
  +            push the <span class="property">OK</span> button. After the selection of the action handler for
  +            the action, we can run the test and observe it gives us a green light.</p><div class="figure"><a id="d0e1246"/><div class="figure-contents"><div class="mediaobject"><img src="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_9.png" alt="Test Results"/></div></div><p class="title"><b>Figure 6.9. Test Results</b></p></div><br class="figure-break"/><p>Tere we are. The above objective has been achieved.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="d0e1254"/>6.3.  Integration Points</h2></div></div></div><p> The different integration points in a process definition are thoroughly documented in
  +            the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://docs.jboss.com/jbpm/v3/userguide/">JBoss jBPM User Guide</a>. Instance nodes can contain many action
  +            elements. Each of these will appear in the Action element list of the Actions tab. But
  +            each Action also has a properties view of itself. You can navigate to this view by
  +            selecting the added Action in the outline view. </p></div></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="Test_Drive_Proc_Development.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> <a accesskey="n" href="Quick_Howto_Guide.html">Next</a></td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.6.2   +39 -8     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/toc.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: toc.xml
  ===================================================================
  RCS file: toc.xml
  diff -N toc.xml
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ toc.xml	25 Oct 2008 06:04:52 -0000	1.1.6.2
  @@ -0,0 +1,42 @@
  +<?xml version="1.0" encoding="utf-8" standalone="no"?>
  +
  +<!DOCTYPE toc
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<toc label="jBPM Tools Reference Guide" topic="index.html">
  +   <topic label="Introduction" href="TargetAudience.html">
  +      <topic label="Preface" href="TargetAudience.html#Preface"/>
  +      <topic label="Feature list" href="TargetAudience.html#feature_list"/>
  +      <topic label="Other relevant resources on the topic" href="TargetAudience.html#d0e183"/>
  +   </topic>
  +   <topic label="JBoss jBPM Runtime Installation" href="jboss_jbpm_runtime_installation.html"/>
  +   <topic label="A Guided Tour of JBoss jBPM GPD" href="GuidedTourJBossjBPMGPD.html">
  +      <topic label="Creating a jBPM Project" href="GuidedTourJBossjBPMGPD.html#CreatingjBPMProject"/>
  +      <topic label="Creating an Empty Process Definition" href="GuidedTourJBossjBPMGPD.html#creating_an_empty_process_definition">
  +         <topic label="A Minimal Process Definition" href="GuidedTourJBossjBPMGPD.html#minimal_process_definition">
  +            <topic label="Adding the Nodes" href="GuidedTourJBossjBPMGPD.html#adding_the_nodes"/>
  +            <topic label="Adding Transitions" href="GuidedTourJBossjBPMGPD.html#adding_transitions"/>
  +         </topic>
  +      </topic>
  +   </topic>
  +   <topic label="The views" href="the_views.html">
  +      <topic label="The Outline View" href="the_views.html#the_outline_view"/>
  +      <topic label="The Overview" href="the_views.html#the_overview"/>
  +      <topic label="The Properties View" href="the_views.html#the_properties_view"/>
  +      <topic label="The jBPM Graphical Process Designer editor." href="the_views.html#jbpm_gpd_editor">
  +         <topic label="The Diagram mode" href="the_views.html#the_diagram_mode"/>
  +         <topic label="The Source Mode" href="the_views.html#source_mode"/>
  +         <topic label="The Design Mode" href="the_views.html#design_mode"/>
  +         <topic label="The Deployment Mode" href="the_views.html#deployment_mode"/>
  +      </topic>
  +   </topic>
  +   <topic label="Test Driven Process Development" href="Test_Drive_Proc_Development.html"/>
  +   <topic label="Actions : The JBoss jBPM Integration Mechanism" href="The_JBoss_jBPM_Int_Mech.html">
  +      <topic label="Creating a Hello World Action" href="The_JBoss_jBPM_Int_Mech.html#d0e1035"/>
  +      <topic label="Integrating the Hello World Action" href="The_JBoss_jBPM_Int_Mech.html#d0e1149"/>
  +      <topic label=" Integration Points" href="The_JBoss_jBPM_Int_Mech.html#d0e1254"/>
  +   </topic>
  +   <topic label="Quick Howto Guide" href="Quick_Howto_Guide.html">
  +      <topic label="Change the Default Core jBPM Installation" href="Quick_Howto_Guide.html#change_core_jbpm_inst"/>
  +      <topic label="Configuring Task Nodes" href="Quick_Howto_Guide.html#d0e1313"/>
  +   </topic>
  +</toc>
  \ No newline at end of file
  
  
  
  1.1.2.1   +55 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/Test_Drive_Proc_Development.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Test_Drive_Proc_Development.html
  ===================================================================
  RCS file: Test_Drive_Proc_Development.html
  diff -N Test_Drive_Proc_Development.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ Test_Drive_Proc_Development.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,55 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 5. Test Driven Process Development</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, , , , "/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="the_views.html" title="Chapter 4. The views"/><link rel="next" href="The_JBoss_jBPM_Int_Mech.html" title="Chapter 6. Actio
 ns : The JBoss jBPM Integration Mechanism"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" class="previous"><a!
  accesskey="p" href="the_views.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="The_JBoss_jBPM_Int_Mech.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="Test_Drive_Proc_Development"/>Chapter 5. Test Driven Process Development</h2></div></div></div><p> One of the most important advantages of JBoss jBPM's lightweight approach to BPM
  +        and workflow management is that developers can easily leverage their usual programming
  +        skills and techniques. One of these well-known techniques is Unit Testing and Test Driven
  +        Development. </p><p>In this chapter we will show how developers, making use of the JBoss jBPM GPD, can use a
  +        technique we have baptized <span class="property">Test Driven Process Development</span> to create
  +        process definitions and test their correctness. </p><p> When creating the <span class="emphasis"><em>
  +            <span class="property">HellojBPM</span>
  +        </em></span> project the Project Creation wizard has already put in place all the library
  +        requirements we need to start writing the jBPM unit tests. They are contained in the jBPM
  +        Library container and the most important of them is the <span class="emphasis"><em>
  +            <span class="property">.jar</span>
  +        </em></span> file containing the core jBPM classes. While working on the project you could
  +        find them all in the <span class="property">Package Explorer</span>.</p><div class="figure"><a id="d0e872"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_1.png" alt="The jBPM Libraries"/></div></div><p class="title"><b>Figure 5.1. The jBPM Libraries</b></p></div><br class="figure-break"/><p>It must be noted that it is possible to change the location of the core jBPM installation
  +        by changing the preference settings. More on this <a href="Quick_Howto_Guide.html#change_core_jbpm_inst" title="7.1. Change the Default Core jBPM Installation">see
  +            later</a> in this book.</p><p> With that extra knowledge on the project settings, you can create your first test. To do
  +        this, we create the <span class="emphasis"><em>
  +            <span class="property">com.jbay</span>
  +        </em></span> package in the <span class="emphasis"><em>
  +            <span class="property">test/java</span>
  +        </em></span> source folder. Then we bring up the context menu on this package and select <span class="emphasis"><em>
  +            <span class="property">New &gt; Other...</span>
  +        </em></span></p><div class="figure"><a id="d0e902"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_2.png" alt="Call the JUnit Test Case Creation wizard"/></div></div><p class="title"><b>Figure 5.2. Call the JUnit Test Case Creation wizard</b></p></div><br class="figure-break"/><p> And then <span class="emphasis"><em>
  +            <span class="property">Java &gt; JUnit &gt; JUnit Test Case</span>
  +        </em></span> to call the specialized JUnite Test case creation wizard.</p><div class="figure"><a id="d0e916"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_3.png" alt="Call the JUnit Test Case Creation wizard"/></div></div><p class="title"><b>Figure 5.3. Call the JUnit Test Case Creation wizard</b></p></div><br class="figure-break"/><p>The wizard looks as follows:</p><div class="figure"><a id="d0e924"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_4.png" alt="Create Test Dialog"/></div></div><p class="title"><b>Figure 5.4. Create Test Dialog</b></p></div><br class="figure-break"/><p>By default JUnite 3 version of testing framework is selected. Of course, you can ch
 oose
  +        new advanced JUnit 4 version. In this case you'll be prompted to add new JUnit
  +        Library to your build path. To add it automatically just click on the appropriate link. In
  +        the <span class="emphasis"><em>
  +            <span class="property">Class under test</span>
  +        </em></span> section you can specify the class to test.</p><div class="figure"><a id="d0e938"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_5.png" alt="A First Test Scenario"/></div></div><p class="title"><b>Figure 5.5. A First Test Scenario</b></p></div><br class="figure-break"/><p>Then, we call the test class <span class="emphasis"><em>
  +            <span class="property">HelloTest</span>
  +        </em></span> and press <span class="emphasis"><em>
  +            <span class="property">Finish</span>
  +        </em></span> button to complete.</p><p> Next, we should write a simple test scenario as shown on the next figure. Let's
  +        study the code of this test case. </p><div class="figure"><a id="hello_test"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_6.png" alt="A First Test Scenario"/></div></div><p class="title"><b>Figure 5.6. A First Test Scenario</b></p></div><br class="figure-break"/><p>In the first line of the method, a jBPM process archive object is created. We use a
  +        constructor accepting the filename of the archive. In our case it is the <span class="emphasis"><em>
  +            <span class="property">hello</span>
  +        </em></span> file we created earlier and which lives in the <span class="emphasis"><em>
  +            <span class="property">src/main/jpdl</span>
  +        </em></span> folder of our project. After asserting that this object is really created, we
  +        extract a process definition object from it. This object is fed to the constructor of a
  +        process instance object. We have a process instance object, but this process is not yet
  +        started, so we can safely assert that its root token still resides in the start node. After
  +        signalling the token will move to the next state and the process will be in the <span class="emphasis"><em>
  +            <span class="property">auction</span>
  +        </em></span> state. Finally another signal will end the process. </p><p> After writing this test we can check whether it works as expected by running it .</p><div class="figure"><a id="d0e988"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_7.png" alt="Running the Process Test"/></div></div><p class="title"><b>Figure 5.7. Running the Process Test</b></p></div><br class="figure-break"/><p>All went well as we have a green light:</p><div class="figure"><a id="d0e996"/><div class="figure-contents"><div class="mediaobject"><img src="images/Test_Drive_Proc/test_driv_proc_8.png" alt="Successful Test Run"/></div></div><p class="title"><b>Figure 5.8. Successful Test Run</b></p></div><br class="figure-break"/><p> Of course, this s
 imple scenario was not very interesting, but the purpose of it was to
  +        show how you can reuse your development skills in a very straightforward way when doing
  +        process development. To see how more interesting processes and process test
  +        scenario's can be developed, we suggest you to read the <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://docs.jboss.com/jbpm/v3/userguide/">JBoss jBPM User Guide</a> and to
  +        study the API reference. You can find it in the jBPM download folder. (To get started we
  +        downloaded jbpm-jpdl-3.2.2 in <a href="jboss_jbpm_runtime_installation.html" title="Chapter 2. JBoss jBPM Runtime Installation">the second
  +            chapter</a>. You should just remember where you extracted it.) All we've mentioned are in the 'javadoc- *' subfolders of the 'doc' folder.
  +        Moreover, some more examples will be given later in this book.</p></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="the_views.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> <a accesskey="n" href="The_JBoss_jBPM_Int_Mech.html">Next</a></td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.6.2   +0 -6      jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/.project
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .project
  ===================================================================
  RCS file: .project
  diff -N .project
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ .project	25 Oct 2008 06:04:52 -0000	1.1.6.2
  @@ -0,0 +1,22 @@
  +<?xml version="1.0" encoding="UTF-8"?>
  +<projectDescription>
  +	<name>org.jbpm.gd.jpdl.help</name>
  +	<comment></comment>
  +	<projects>
  +	</projects>
  +	<buildSpec>
  +		<buildCommand>
  +			<name>org.eclipse.pde.ManifestBuilder</name>
  +			<arguments>
  +			</arguments>
  +		</buildCommand>
  +		<buildCommand>
  +			<name>org.eclipse.pde.SchemaBuilder</name>
  +			<arguments>
  +			</arguments>
  +		</buildCommand>
  +	</buildSpec>
  +	<natures>
  +		<nature>org.eclipse.pde.PluginNature</nature>
  +	</natures>
  +</projectDescription>
  
  
  
  1.1.6.2   +26 -5     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/build.properties
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.properties
  ===================================================================
  RCS file: build.properties
  diff -N build.properties
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ build.properties	25 Oct 2008 06:04:52 -0000	1.1.6.2
  @@ -0,0 +1,26 @@
  +bin.includes = GuidedTourJBossjBPMGPD.html,\
  +               Quick_Howto_Guide.html,\
  +               TargetAudience.html,\
  +               Test_Drive_Proc_Development.html,\
  +               The_JBoss_jBPM_Int_Mech.html,\
  +               build.properties,\
  +               css/,\
  +               images/,\
  +               index.html,\
  +               jboss_jbpm_runtime_installation.html,\
  +               plugin.xml,\
  +               the_views.html,\
  +               toc.xml
  +src.includes = GuidedTourJBossjBPMGPD.html,\
  +               Quick_Howto_Guide.html,\
  +               TargetAudience.html,\
  +               Test_Drive_Proc_Development.html,\
  +               The_JBoss_jBPM_Int_Mech.html,\
  +               build.properties,\
  +               css/,\
  +               index.html,\
  +               images/,\
  +               jboss_jbpm_runtime_installation.html,\
  +               plugin.xml,\
  +               the_views.html,\
  +               toc.xml
  
  
  
  1.1.2.1   +92 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/GuidedTourJBossjBPMGPD.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: GuidedTourJBossjBPMGPD.html
  ===================================================================
  RCS file: GuidedTourJBossjBPMGPD.html
  diff -N GuidedTourJBossjBPMGPD.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ GuidedTourJBossjBPMGPD.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,92 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 3. A Guided Tour of JBoss jBPM GPD</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, JBoss, Process, Definition"/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="jboss_jbpm_runtime_installation.html" title="Chapter 2. JBoss jBPM Runtime Installation"/><link rel="nex
 t" href="the_views.html" title="Chapter 4. The views"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" class=!
 "previous"><a accesskey="p" href="jboss_jbpm_runtime_installation.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="the_views.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="GuidedTourJBossjBPMGPD"/>Chapter 3. A Guided Tour of JBoss jBPM GPD</h2></div></div></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="GuidedTourJBossjBPMGPD.html#CreatingjBPMProject">3.1. Creating a jBPM Project</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="Gui
 dedTourJBossjBPMGPD.html#creating_an_empty_process_definition">3.2. Creating an Empty Process Definition</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff!
 " class="section"><a href="GuidedTourJBossjBPMGPD.html#minimal_process
_definition">3.2.1. A Minimal Process Definition</a></span></dt></dl></dd></dl></div><p>In this chapter we suggest a step-by-step walk-through of creating and configuring your
  +		own simple process. Let's try to organize a new jBPM project.</p><p>A wizard for creating a jBPM project is included in the GPD plugin. We have opted to
  +		create a project based on a template already containing a number of advanced artifacts that
  +		we will ignore for this section. In the future we will elaborate this wizard and offer the
  +		possibility to create an empty jBPM project as well as projects based on templates taken
  +		from the jBPM tutorial.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="CreatingjBPMProject"/>3.1. Creating a jBPM Project</h2></div></div></div><p>This section will show you how to use the Creation wizard for creating a new jBPM
  +			project with already included source folders.</p><p>At first you should select <span class="emphasis"><em>
  +				<span class="property">File &gt;New Project...</span>
  +			</em></span> and then <span class="emphasis"><em>
  +				<span class="property">JBoss jBPM &gt; Process Project</span>
  +			</em></span> in the New Project dialog:</p><div class="figure"><a id="d0e306"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_1.png" alt="New Project Dialog"/></div></div><p class="title"><b>Figure 3.1. New Project Dialog</b></p></div><br class="figure-break"/><p> Clicking <span class="emphasis"><em>
  +				<span class="property">Next</span>
  +			</em></span> brings us to the wizard page where it's necessary to specify the
  +			name and location for the project. We choose, for example, <span class="emphasis"><em>
  +				<span class="property">HellojBPM</span>
  +			</em></span> as the name and accept the default location. </p><div class="figure"><a id="d0e326"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_2.png" alt="Process Name and Location"/></div></div><p class="title"><b>Figure 3.2. Process Name and Location</b></p></div><br class="figure-break"/><p>Thus, our project will be
  +			created in the workspace root directory by default. If you want to change the directory
  +			for your future project, deselect <span class="emphasis"><em>
  +				<span class="property">Use default location</span>
  +			</em></span> and click <span class="emphasis"><em>
  +				<span class="property">Browse...</span></em></span> button to set needed location or simply type it.</p><p>On the next screen you'll be prompted to select the core jBPM location that we have defined in the previous chapter.</p><div class="figure"><a id="d0e347"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_9.png" alt="Core jBPM Location Specifying"/></div></div><p class="title"><b>Figure 3.3. Core jBPM Location Specifying</b></p></div><br class="figure-break"/><p>Clicking on <span class="emphasis"><em>
  +				<span class="property">Finish</span>
  +			</em></span> results in the project being generated. The wizard creates four source
  +			folders: one for the processes (<span class="emphasis"><em>
  +				<span class="property">src/main/jpdl</span>
  +			</em></span>), one for the java sources (<span class="emphasis"><em>
  +				<span class="property">src/main/java</span>
  +			</em></span>), one for the unit tests (<span class="emphasis"><em>
  +				<span class="property">src/test/java</span>
  +			</em></span>) and one for the resources such as the jbpm.properties and the
  +			hibernate.properties files (<span class="emphasis"><em>
  +				<span class="property">src/main/config</span>
  +			</em></span>). In addition a classpath container with all the core jBPM libraries is
  +			added to the project</p><div class="figure"><a id="d0e385"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_3.png" alt="Layout of the Process Project"/></div></div><p class="title"><b>Figure 3.4. Layout of the Process Project</b></p></div><br class="figure-break"/><p>Looking inside the different source folders will reveal a number of other artifacts
  +			that were generated, but we will leave these untouched for the moment. Instead, we will
  +			look at another wizard that enables us to create an empty process definition.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="creating_an_empty_process_definition"/>3.2. Creating an Empty Process Definition</h2></div></div></div><p>Now when the project is set up, we can use a Creation wizard to create an empty
  +			process definition. Bring up the <span class="emphasis"><em>
  +				<span class="property">New</span>
  +			</em></span> wizard by clicking the <span class="emphasis"><em>
  +				<span class="property">File &gt; New &gt; Other...</span>
  +			</em></span> menu item. The wizard opens on the <span class="emphasis"><em>
  +				<span class="property">Select Wizard</span>
  +			</em></span> page.</p><div class="figure"><a id="d0e417"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_4.png" alt="The Select Wizard Page"/></div></div><p class="title"><b>Figure 3.5. The Select Wizard Page</b></p></div><br class="figure-break"/><p>Selecting the <span class="emphasis"><em>
  +				<span class="property">JBoss jBPM</span>
  +			</em></span> category, then the <span class="emphasis"><em>
  +				<span class="property">Process Definition</span>
  +			</em></span> item and clicking on the <span class="emphasis"><em>
  +				<span class="property">Next</span>
  +			</em></span> button brings us to the <span class="emphasis"><em>
  +				<span class="property">Create Process Definition</span>
  +			</em></span> page.</p><div class="figure"><a id="d0e449"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_5.png" alt="The Create New Process Definion Page"/></div></div><p class="title"><b>Figure 3.6. The Create New Process Definion Page</b></p></div><br class="figure-break"/><p>We choose <span class="emphasis"><em>
  +				<span class="property">hello</span>
  +			</em></span> as the name of the process archive file. Click on the <span class="emphasis"><em>
  +				<span class="property">Finish</span>
  +			</em></span> button to end the wizard and open the process definition editor.</p><div class="figure"><a id="d0e469"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_6.png" alt="The Process Definition Editor"/></div></div><p class="title"><b>Figure 3.7. The Process Definition Editor</b></p></div><br class="figure-break"/><p>You can see in the Package Explorer that creating a process definition involves
  +			creating a folder with the name of the process definition and populating this folder
  +			with two .xml files : <span class="emphasis"><em>
  +				<span class="property">gpd.xml</span>
  +			</em></span> and <span class="emphasis"><em>
  +				<span class="property">processdefinition.xml</span>.
  +			</em></span></p><p>The  <span class="emphasis"><em>
  +			<span class="property">gpd.xml</span>
  +		</em></span> contains the graphical information used by the process
  +			definition editor. The <span class="emphasis"><em>
  +				<span class="property">processdefinition.xml</span>
  +			</em></span> file contains the actual process definition info without the graphical
  +			rendering info. At present, the GPD assumes that these two files are siblings. More
  +			sophisticated configuration will be supported later.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="minimal_process_definition"/>3.2.1. A Minimal Process Definition</h3></div></div></div><p>Now we are ready to create a very simple process definition consisting of a begin
  +				state, an intermediate state and an end state.</p><p>To make the configuration of actions much easier it's better to use the
  +				jPDL perspective. It provides the tabbed Properties Editor which allows to configure
  +				all the relevant properties of the current selected item. </p><div class="section" lang="en-US"><div class="titlepage"><div><div><h4 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="adding_the_nodes"/>3.2.1.1. Adding the Nodes</h4></div></div></div><p>At first select respectively <span class="emphasis"><em>
  +						<span class="property">Start</span>,
  +					</em></span> <span class="emphasis"><em>
  +						<span class="property">State</span>
  +					</em></span> and <span class="emphasis"><em>
  +						<span class="property">End</span>
  +					</em></span> on the tools palette and click on the canvas to add these nodes to
  +					the process definition. The result should look similar to this:</p><div class="figure"><a id="d0e534"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_7.png" alt="A Simple Process With Three Nodes"/></div></div><p class="title"><b>Figure 3.8. A Simple Process With Three Nodes</b></p></div><br class="figure-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h4 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="adding_transitions"/>3.2.1.2. Adding Transitions</h4></div></div></div><p>Then, we will connect the nodes with transitions. To do that select the <span class="emphasis"><em>
  +						<span class="property">Transition</span>
  +					</em></span> tool in the tools palette and click on the <span class="emphasis"><em>
  +						<span class="property">Start</span>
  +					</em></span> node, then move to the <span class="emphasis"><em>
  +						<span class="property">State</span>
  +					</em></span> node and click again to see the transition being drawn. Perform the
  +					same steps to create a transition from the <span class="emphasis"><em>
  +						<span class="property">State</span>
  +					</em></span> node to the <span class="emphasis"><em>
  +						<span class="property">End</span>
  +					</em></span> node. The result will look like:</p><div class="figure"><a id="d0e576"/><div class="figure-contents"><div class="mediaobject"><img src="images/guided_tour_jboss_jbpmgpd/guided_tour_8.png" alt="A Simple Process With Transitions"/></div></div><p class="title"><b>Figure 3.9. A Simple Process With Transitions</b></p></div><br class="figure-break"/></div></div><p>Now, when you've got background knowledge of simple project creation, let's move to more advanced tools.</p></div></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="jboss_jbpm_runtime_installation.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home">
 <a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> <a accesskey="n" href="the_views.html">Next</a></td></tr><tr><td align="left" valign="top"!
 > </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.2.1   +30 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/TargetAudience.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TargetAudience.html
  ===================================================================
  RCS file: TargetAudience.html
  diff -N TargetAudience.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ TargetAudience.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,30 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 1. Introduction</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, Target, developers, Audience"/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="index.html" title="jBPM Tools Reference Guide"/><link rel="next" href="jboss_jbpm_runtime_installation.html" title="Chapter
  2. JBoss jBPM Runtime Installation"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" class="previous"><a acc!
 esskey="p" href="index.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="jboss_jbpm_runtime_installation.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="Introduction"/>Chapter 1. Introduction</h2></div></div></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#Preface">1.1. Preface</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#feature_list">1.2. Feature list</a></span></dt><dt><span xmlns="" xml
 ns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#d0e183">1.3. Other relevant resources on the topic</a></span></dt></dl></div><p>All developers and proc!
 ess analysts who are beginning to use JBoss jBPM should read this
  +  Getting Started guide. It will give them a jumpstart showing how to create a process definition.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="Preface"/>1.1. Preface</h2></div></div></div><p>This document introduces the use of the JBoss jBPM Graphical Process Designer (GPD) to
  +   create workflow processes. It will help first time users with the following tasks :</p><div class="itemizedlist"><ul><li><p>Install the JBoss jBPM GPD Eclipse plugin available from the JBoss jBPM download
  +    area</p></li><li><p>Set up a Java project in Eclipse and prepare it to do test driven process
  +    development</p></li><li><p>Using the creation wizard to create an empty process definition</p></li><li><p>Use the designer palette to draw the first processdefinition</p></li><li><p>Show how the xml processdefinition can be inspected as an xml file</p></li><li><p>Set up a Java project in Eclipse and prepare it to do test driven process
  +    development</p></li><li><p>Write an example process test case</p></li></ul></div><p>If you have questions, please feel free to contact <a xmlns:xlink="http://www.w3.org/1999/xlink" href="mailto:[email protected]">Koen Aers</a> or <a xmlns:xlink="http://www.w3.org/1999/xlink" href="mailto:[email protected]">Tom Baeyens</a> for more
  +   information.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="feature_list"/>1.2. Feature list</h2></div></div></div><p> JBoss jBPM is a workflow that enables creating and automatization business processes. Look
  +   at the list of features below to understand its main functionality.</p><div class="table"><a id="d0e114"/><p class="title"><b>Table 1.1. Key Functionality for JBoss jBPM</b></p><div class="table-contents"><table summary="Key Functionality for JBoss jBPM" border="1"><colgroup><col/><col/></colgroup><thead><tr><th>Feature</th><th>Benefit</th></tr></thead><tbody><tr><td>
  +       <a href="GuidedTourJBossjBPMGPD.html#minimal_process_definition" title="3.2.1. A Minimal Process Definition">jBDL support</a>
  +      </td><td>Enables managing workflow processes as well as human tasks and interactions between
  +       them. jBDL combines the best both Java and declarative process techniques.</td></tr><tr><td>
  +       <a href="GuidedTourJBossjBPMGPD.html" title="Chapter 3. A Guided Tour of JBoss jBPM GPD">Support of Graphical Process Designer (GPD)</a>
  +      </td><td>Is used for simplifying declarative process development and visualizations of all
  +       actions.</td></tr><tr><td>
  +       <a href="GuidedTourJBossjBPMGPD.html#CreatingjBPMProject" title="3.1. Creating a jBPM Project">Project Creation wizard</a>
  +      </td><td>Allows to create a new jBPM template project that already includes all advanced
  +       artifacts and core jBPM libraries.</td></tr><tr><td>
  +       <a href="GuidedTourJBossjBPMGPD.html#minimal_process_definition" title="3.2.1. A Minimal Process Definition">Rich palette of pre-build process nodes</a>
  +      </td><td>Provides process-building functionality and gives opportunity even non-programmers to
  +       develop processes.</td></tr><tr><td>
  +       <a href="the_views.html#source_mode" title="4.4.2. The Source Mode">Support of XML code view</a>
  +      </td><td>Shows the corresponding XML that's generated automatically in the Source view
  +       of the process definition editor when developing the process.</td></tr><tr><td>
  +       <a href="the_views.html#the_properties_view" title="4.3. The Properties View">Properties view</a>
  +      </td><td>Facilitates configuring and editing of all nodes properties.</td></tr><tr><td>Interaction with all of the J2EE based integration technologies including Web Services,
  +       Java Messaging, J2EE Connectors, JBDC, EJBs.</td><td>Enables implementation, provides better functionality and flexibility.</td></tr><tr><td>Integration with jBoss Seam</td><td>Allows to write applications with complex workflows and provides easier interactions
  +       between them.</td></tr></tbody></table></div></div><br class="table-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="d0e183"/>1.3. Other relevant resources on the topic</h2></div></div></div><p>All JBoss Developer Studio/JBoss Tools documentation you can find <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://docs.jboss.org/tools/2.1.0.GA/">here</a>.</p><p>The latest documentation builds are available <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://download.jboss.org/jbosstools/nightly-docs/">here</a>.</p></div></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="
 p" href="index.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width!
 ="25%" align="right" class="next"> <a accesskey="n" href="jboss_jbpm_runtime_installation.html">Next</a></td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.2.1   +6 -0      jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/index.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: index.html
  ===================================================================
  RCS file: index.html
  diff -N index.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ index.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,6 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">jBPM Tools Reference Guide</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="description" content=" PDF version"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="next" href="TargetAudience.html" title="Chapter 1. Introduction"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20
 %" align="left" class="previous"> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="TargetAudience.html">Next</a></td></tr></ta!
 ble></div><div class="book" lang="en-US"><div class="titlepage"><div><div><h1 class="title"><a id="d0e1"/>jBPM Tools Reference Guide</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Anatoly</span> <span class="surname">Fedosik</span></h3></div></div><div><div class="author"><h3 class="author"><span class="firstname">Koen</span> <span class="surname">Aers</span></h3><code class="email">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</code></div></div><div><div class="author"><h3 class="author"><span class="firstname">Olga</span> <span class="surname">Chikvina</span></h3></div></div><div><div class="author"><h3 class="author"><span class="firstname">Svetlana</span> <span class="surname">Mukhina</span></h3><code class="email">&lt;<a href="mai
 lto:[email protected]">[email protected]</a>&gt;</code></div></div><div><div class="author"><h3 class="author"><span class="firstname">Tom</span> <span class="surname">Baeyens</span></h!
 3><code class="email">&lt;<a href="mailto:[email protected]">tom.b
[email protected]</a>&gt;</code></div></div><div><p class="releaseinfo"> Version: 3.0.0.beta1</p></div><div><p class="copyright">Copyright © 2007, 2008 JBoss, a division of Red Hat Inc.</p></div><div><p class="pubdate">April 2008</p></div><div class="abstract"><p>
  +           <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://download.jboss.org/jbosstools/nightly-docs/en/jbpm/pdf/JBPM_Reference_Guide.pdf">PDF version</a>
  +       </p></div></div><hr/></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="TargetAudience.html">1. Introduction</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#Preface">1.1. Preface</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#feature_list">1.2. Feature list</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="TargetAudience.html#d0e183">1.3. Other relevant resources on the topic</a></span></dt></dl></dd><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="jboss_jbpm_runtime_ins
 tallation.html">2. JBoss jBPM Runtime Installation</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="GuidedTourJBossjBPMGPD.html">3. A G!
 uided Tour of JBoss jBPM GPD</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="GuidedTourJBossjBPMGPD.html#CreatingjBPMProject">3.1. Creating a jBPM Project</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="GuidedTourJBossjBPMGPD.html#creating_an_empty_process_definition">3.2. Creating an Empty Process Definition</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="GuidedTourJBossjBPMGPD.html#minimal_process_definition">3.2.1. A Minimal Process Definition</a></span></dt></dl></dd></dl></dd><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="the_views.html">4. The views</a></span></dt>
 <dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_outline_view">4.1. The Outline View</a></span></dt><dt><span xmlns="" xmln!
 s:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_v
iews.html#the_overview">4.2. The Overview</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_properties_view">4.3. The Properties View</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#jbpm_gpd_editor">4.4. The jBPM Graphical Process Designer editor.</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_diagram_mode">4.4.1. The Diagram mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#source_mode">4.4.2. The Source Mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="sec
 tion"><a href="the_views.html#design_mode">4.4.3. The Design Mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#deplo!
 yment_mode">4.4.4. The Deployment Mode</a></span></dt></dl></dd></dl></dd><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="Test_Drive_Proc_Development.html">5. Test Driven Process Development</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="The_JBoss_jBPM_Int_Mech.html">6. Actions : The JBoss jBPM Integration Mechanism</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="The_JBoss_jBPM_Int_Mech.html#d0e1035">6.1. Creating a Hello World Action</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="The_JBoss_jBPM_Int_Mech.html#d0e1149">6.2. Integrating the Hello World Action</a></span></dt><dt><
 span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="The_JBoss_jBPM_Int_Mech.html#d0e1254">6.3.  Integration Points</a></span></dt></dl></dd><dt><span xmlns=""!
  xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="chapter"><a href="
Quick_Howto_Guide.html">7. Quick Howto Guide</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="Quick_Howto_Guide.html#change_core_jbpm_inst">7.1. Change the Default Core jBPM Installation</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="Quick_Howto_Guide.html#d0e1313" class="added">7.2. Configuring Task Nodes</a></span></dt></dl></dd></dl></div></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"> </td><td width="25%" align="right" class="next"> <a accesskey="n" href="TargetAudience.html">Next</a><
 /td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.4.6.2   +6 -16     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/plugin.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: plugin.xml
  ===================================================================
  RCS file: plugin.xml
  diff -N plugin.xml
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ plugin.xml	25 Oct 2008 06:04:52 -0000	1.4.6.2
  @@ -0,0 +1,10 @@
  +<?xml version="1.0" encoding="utf-8" standalone="no"?>
  +
  +<plugin name="jBPM Help" id="org.jbpm.gd.jpdl.help" version="3.1.5" provider-name="JBoss, a Division of Red Hat">
  +   <requires>
  +      <import plugin="org.eclipse.help" version="3.3.100"/>
  +   </requires>
  +   <extension point="org.eclipse.help.toc">
  +      <toc file="toc.xml" primary="true"/>
  +   </extension>
  +</plugin>
  
  
  
  1.1.2.1   +42 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/Quick_Howto_Guide.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Quick_Howto_Guide.html
  ===================================================================
  RCS file: Quick_Howto_Guide.html
  diff -N Quick_Howto_Guide.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ Quick_Howto_Guide.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,42 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 7. Quick Howto Guide</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM, , , , "/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="The_JBoss_jBPM_Int_Mech.html" title="Chapter 6. Actions : The JBoss jBPM Integration Mechanism"/></head><body><div xmlns="" class="navhead
 er"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" class="previous"><a accesskey="p" href="The_JBoss_jBPM_Int_Mech.html">Prev</a> </td><td width="60%" ali!
 gn="center"> </td><td width="20%" align="right" class="next"> </td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="Quick_Howto_Guide"/>Chapter 7. Quick Howto Guide</h2></div></div></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="Quick_Howto_Guide.html#change_core_jbpm_inst">7.1. Change the Default Core jBPM Installation</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="Quick_Howto_Guide.html#d0e1313" class="added">7.2. Configuring Task Nodes</a></span></dt></dl></div><p>This chapter contains additional information related to t
 he <span class="property">JBoss
  +        jBPM</span>.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="change_core_jbpm_inst"/>7.1. Change the Default Core jBPM Installation</h2></div></div></div><p> You can change the default <span class="property">jBPM</span> installation by means of the
  +            Eclipse preference mechanism. Open the Preferences dialog by selecting <span class="emphasis"><em>
  +                <span class="property">Window &gt; Preferences</span>
  +            </em></span> and select the <span class="emphasis"><em>
  +                <span class="property">JBoss jBPM &gt; Runtime Location</span>
  +            </em></span> category. Using this page you can add multiple <span class="property">jBPM</span>
  +            installation locations and change the default one. The default installation is used for
  +            the classpath settings when creating a new Process Project. Changing the preferences has
  +            no influence on already created projects. Getting rid of a <span class="property">jBPM</span>
  +            installation that's being referenced by a project however will cause the
  +            classpath to contain errors. </p><div class="figure"><a id="d0e1307"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_1.png" alt="The jBPM Preferences Page"/></div></div><p class="title"><b>Figure 7.1. The jBPM Preferences Page</b></p></div><br class="figure-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="d0e1313"/>7.2. Configuring Task Nodes</h2><img xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" src="images/new.png" alt="new" class="img_marker"/></div></div></div><p>Here, we'll examine how you can configure the Task nodes in jBPM jPDL GPD.</p><p> You can add Tasks to Task nodes and then configure them in
  a similar manner as the
  +            Action configuration mechanism. Let's consider the process definition similar
  +            to the previous one that contains three nodes: Start state, Task node and End state. The
  +            <span class="property">Properties view</span> for selected Task node includes several tabs. </p><div class="figure"><a id="d0e1323"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_2.png" alt="The Properties View of the selected Task Node"/></div></div><p class="title"><b>Figure 7.2. The Properties View of the selected Task Node</b></p></div><br class="figure-break"/><p>We should choose the Task tab and then bring up the context menu or click the button
  +            in the top right corner of the view to add a Task to our Task node.</p><div class="figure"><a id="d0e1331"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_3.png" alt="Adding a Task to the Task Node"/></div></div><p class="title"><b>Figure 7.3. Adding a Task to the Task Node</b></p></div><br class="figure-break"/><p>Every added Task has its own configuration possibilities. You can access them through
  +            the <span class="property">Properties view</span> as well.</p><div class="figure"><a id="d0e1342"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_4.png" alt="The Task properties"/></div></div><p class="title"><b>Figure 7.4. The Task properties</b></p></div><br class="figure-break"/><p>The <span class="property">General page</span> is a place where you can specify the name of a
  +            Task and its description. For instance, let it be <span class="emphasis"><em>
  +                <span class="property">approve oder</span>
  +            </em></span> with appropriate description that you can see in the figure below.</p><div class="figure"><a id="d0e1359"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_5.png" alt="The Task General Page"/></div></div><p class="title"><b>Figure 7.5. The Task General Page</b></p></div><br class="figure-break"/><p>Now, look at <span class="property">Details page</span>. First, you should specify the due date
  +            that is a mandatory property for the Task. The due date is the date on which the task
  +            should be accomplished. Here you can also set a Task priority as well as signalling,
  +            notifying or blocking. The <span class="emphasis"><em>
  +                <span class="property">Blocking</span>
  +            </em></span> attribute indicates that the process will not be able to continue if this
  +            task is still unaccomplished. The <span class="emphasis"><em>
  +                <span class="property">Generate Form...</span>
  +            </em></span> button is for creating a simple task form that can be rendered by the jBPM
  +            console.</p><div class="figure"><a id="d0e1382"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_6.png" alt="The Task Details Page"/></div></div><p class="title"><b>Figure 7.6. The Task Details Page</b></p></div><br class="figure-break"/><p>For our example, we specify the due date as 2 business days, choose the high priority
  +            and also check the <span class="emphasis"><em>
  +                <span class="property">Signalling</span>
  +            </em></span> and <span class="emphasis"><em>
  +                <span class="property">Notify</span>
  +            </em></span> attributes. It means that the Task should be accomplished in 2 business days
  +            and the assignee will be notified by email when the task is assigned. To specify how the
  +            Task should be assigned switch on to the <span class="property">Assignment page</span>.</p><div class="figure"><a id="d0e1405"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_7.png" alt="The Task Assignment Page"/></div></div><p class="title"><b>Figure 7.7. The Task Assignment Page</b></p></div><br class="figure-break"/><p>On the <span class="property">Reminder page</span> you can specify whether the assignee will be reminded of the task
  +            that awaits him.</p><div class="figure"><a id="d0e1416"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_8.png" alt="The Task Reminder Page"/></div></div><p class="title"><b>Figure 7.8. The Task Reminder Page</b></p></div><br class="figure-break"/><p>In our case, the assignee will be reminded by email after two business hours and
  +            continue to get reminding every business hour after that.</p><p>In the next figure you can see our configuring generated into XML.</p><div class="figure"><a id="d0e1426"/><div class="figure-contents"><div class="mediaobject"><img src="images/Quick_Howto_Guide/quick_howto_guide_9.png" alt="The Task Reminder Page"/></div></div><p class="title"><b>Figure 7.9. The Task Reminder Page</b></p></div><br class="figure-break"/></div><p>We hope, our guide will help you to get started with the jPDL process language and jBPM
  +        workflow on the whole. Besides, for additional information you are welcome on <a xmlns:xlink="http://www.w3.org/1999/xlink" href="http://www.jboss.com/index.html?module=bb&amp;op=viewforum&amp;f=217">our forum</a>.</p></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="The_JBoss_jBPM_Int_Mech.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> </td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file
  
  
  
  1.1.2.1   +59 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/Attic/the_views.html
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: the_views.html
  ===================================================================
  RCS file: the_views.html
  diff -N the_views.html
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ the_views.html	25 Oct 2008 06:04:52 -0000	1.1.2.1
  @@ -0,0 +1,59 @@
  +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  +<!DOCTYPE html
  +  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  +<html xmlns="http://www.w3.org/1999/xhtml"><head><title xmlns:diffmk="http://diffmk.sf.net/ns/diff">Chapter 4. The views</title><link rel="stylesheet" href="css/tools.css" type="text/css"/><meta xmlns:diffmk="http://diffmk.sf.net/ns/diff" name="generator" content="DocBook XSL Stylesheets V1.72.0"/><link xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" rel="shortcut icon" type="image/vnd.microsoft.icon" href="images/favicon.ico"/><meta name="keywords" content="jBPM"/><link rel="start" href="index.html" title="jBPM Tools Reference Guide"/><link rel="up" href="index.html" title="jBPM Tools Reference Guide"/><link rel="prev" href="GuidedTourJBossjBPMGPD.html" title="Chapter 3. A Guided Tour of JBoss jBPM GPD"/><link rel="next" href="Test_Drive_Proc_Development.html" title="Chapter 
 5. Test Driven Process Development"/></head><body><div xmlns="" class="navheader"><table width="100%" summary="Navigation header"><tr><td width="20%" align="left" class="previous"><a acces!
 skey="p" href="GuidedTourJBossjBPMGPD.html">Prev</a> </td><td width="60%" align="center"> </td><td width="20%" align="right" class="next"> <a accesskey="n" href="Test_Drive_Proc_Development.html">Next</a></td></tr></table></div><div class="chapter" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="&#xA;&#x9;&#x9;&#x9;title&#xA;&#x9;&#x9;"><a xmlns="http://www.w3.org/1999/xhtml" id="the_views"/>Chapter 4. The views</h2></div></div></div><div class="toc"><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_outline_view">4.1. The Outline View</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_overview">4.2. The Overview</a></span></dt><dt><span
  xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_properties_view">4.3. The Properties View</a></span></dt><dt><span xmlns="" xmlns:diffmk="h!
 ttp://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#j
bpm_gpd_editor">4.4. The jBPM Graphical Process Designer editor.</a></span></dt><dd><dl><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#the_diagram_mode">4.4.1. The Diagram mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#source_mode">4.4.2. The Source Mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#design_mode">4.4.3. The Design Mode</a></span></dt><dt><span xmlns="" xmlns:diffmk="http://diffmk.sf.net/ns/diff" class="section"><a href="the_views.html#deployment_mode">4.4.4. The Deployment Mode</a></span></dt></dl></dd></dl></div><p>Here, it will be explained how to work with views and edit
 ors provided by JBDS.</p><p>The views are used for representation and navigation the resources you are working on at
  +        the moment. One of the advantages of all the views is that all modifications made in the
  +        currant-active file are immediately displayed in them. Let’s get acquainted more closely
  +        with those that the <span class="property">jPDL perspective</span> provides. </p><div class="figure"><a id="d0e601"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_0.png" alt="The jPDL Perspective Views and Editors"/></div></div><p class="title"><b>Figure 4.1. The jPDL Perspective Views and Editors</b></p></div><br class="figure-break"/><p>As you can see in the picture above, the <span class="property">jPDL perspective</span> contains a complete set of
  +        functionality that's necessary for working on the jBPM project.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="the_outline_view"/>4.1. The Outline View</h2></div></div></div><p>To have a way to quickly see an outline of the process use the <span class="emphasis"><em>
  +            <span class="property">Outline view</span></em></span> that is
  +            presented as the classical tree. If it is not visible select <span class="emphasis"><em>
  +                <span class="property">Window &gt; Show view &gt; Outline</span>.
  +            </em></span></p><div class="figure"><a id="d0e628"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_1.png" alt="The Overview View"/></div></div><p class="title"><b>Figure 4.2. The Overview View</b></p></div><br class="figure-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="the_overview"/>4.2. The Overview</h2></div></div></div><p>The main advantage of this view is that it gives visual representation of the whole
  +            currant-developing process. Besides, the <span class="emphasis"><em>
  +                <span class="property">Overview</span></em></span> comes as a scrollable thumbnail which
  +            enables a better navigation of the process structure if it's too large.</p><div class="figure"><a id="d0e645"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_2.png" alt="The Overview"/></div></div><p class="title"><b>Figure 4.3. The Overview</b></p></div><br class="figure-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="the_properties_view"/>4.3. The Properties View</h2></div></div></div><p> Here, we dwell on the JBDS <span class="property">Properties view</span>.</p><p>Notice if it's not visible you can access it by navigating <span class="emphasis"><em>
  +                <span class="property">Window &gt; Show view &gt; Properties</span>.
  +            </em></span></p><p>The view shows the relevant properties of the selected item in the tabbed form. Every
  +            item has its own set of properties, which can be directly editable in the Properties
  +            view or by brining up the context menu.</p><div class="figure"><a id="d0e669"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_3.png" alt="The Properties View of selected Transition"/></div></div><p class="title"><b>Figure 4.4. The Properties View of selected Transition</b></p></div><br class="figure-break"/><p>For example, on the picture above the Properties view displays all the properties for
  +            a selected transition. Its name has been changed to <span class="emphasis"><em>
  +                <span class="property">to_auction</span>.
  +            </em></span> We've done it directly in active General tab of the view. The same
  +            way let's change the name for the second transition to <span class="emphasis"><em>
  +                <span class="property">to_end</span>.
  +            </em></span></p><p>If no one item is selected, the view represents the properties of the whole process
  +            definition. </p><div class="figure"><a id="d0e690"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_4.png" alt="The Properties View of Process Definition"/></div></div><p class="title"><b>Figure 4.5. The Properties View of Process Definition</b></p></div><br class="figure-break"/><p>In this case, it contains six tabs. The first one is the <span class="emphasis"><em>
  +            <span class="property">General</span>.</em></span> It allows to specify
  +            a process name and add necessary description. To illustrate let's change the process
  +            definition name to <span class="emphasis"><em>
  +                <span class="property">jbay</span>.
  +            </em></span></p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h2 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="jbpm_gpd_editor"/>4.4. The jBPM Graphical Process Designer editor.</h2></div></div></div><p>The <span class="property">jBPM GPD editor</span> includes four modes: Diagram, Deployment, Design and Source, which
  +            are available as switchable tabs at the bottom of the editor. Let's dwell on
  +            each of them.</p><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="the_diagram_mode"/>4.4.1. The Diagram mode</h3></div></div></div><p> In this mode we define the process in the form of a diagram by means of tools
  +                provided on the left-hand side of the jBPM GPD. </p><div class="figure"><a id="d0e723"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_5.png" alt="The Diagram mode"/></div></div><p class="title"><b>Figure 4.6. The Diagram mode</b></p></div><br class="figure-break"/><p>Besides, some properties can be directly edited in the <span class="property">Diagram mode</span> of the
  +                graphical editor. One example of this is the <span class="emphasis"><em>
  +                    <span class="property">name</span>
  +                </em></span> property of nodes. You can edit this directly by selecting the node of
  +                which you want to change the name and then click once inside this node. This enables
  +                an editor in the node. We change the name of the node to <span class="emphasis"><em>
  +                    <span class="property">auction</span>.
  +                </em></span></p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="source_mode"/>4.4.2. The Source Mode</h3></div></div></div><p>Now, that we have defined a simple process definition, we can have a look at the
  +                XML that is being generated under the covers. To see this XML click on the Source
  +                tab of the graphical process designer editor.</p><div class="figure"><a id="d0e751"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_6.png" alt="The Source Mode"/></div></div><p class="title"><b>Figure 4.7. The Source Mode</b></p></div><br class="figure-break"/><p>The <span class="property">Source mode</span> enables to easily manipulate our XML. That is manually inserting
  +                and editing necessary elements or attributes. In addition, here you can take
  +                advantage of content assist.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="design_mode"/>4.4.3. The Design Mode</h3></div></div></div><p>One more way to edit your file is to use <span class="property">Design mode</span>. You can
  +                see it in the next picture:</p><div class="figure"><a id="d0e771"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_7.png" alt="The Design Mode"/></div></div><p class="title"><b>Figure 4.8. The Design Mode</b></p></div><br class="figure-break"/><p>As you can see above, this mode looks like a table in the first column of which
  +                the process structure is performed. Here, you can also insert, remove and edit
  +                elements or attributes, moreover add comments and instructions. Their values can be
  +                directly edited in the second column of the Design mode table.</p><p>For instance, let’s add a comment on the second transition. For that, you should
  +                bring up the context menu for it and choose <span class="emphasis"><em>
  +                    <span class="property">Add Before &gt; Comment</span>.
  +                </em></span></p><div class="figure"><a id="d0e786"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_8.png" alt="Adding a Comment"/></div></div><p class="title"><b>Figure 4.9. Adding a Comment</b></p></div><br class="figure-break"/><p>Then, we can put the text <span class="emphasis"><em>This
  +                transition leads to the end state</em></span> in the right column as its value.</p><div class="figure"><a id="d0e797"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_9.png" alt="Comment is added"/></div></div><p class="title"><b>Figure 4.10. Comment is added</b></p></div><br class="figure-break"/></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 xmlns="" class="title"><a xmlns="http://www.w3.org/1999/xhtml" id="deployment_mode"/>4.4.4. The Deployment Mode</h3></div></div></div><p>Finally, to adjust the deployment settings of the project you should switch on to
  +                the tab that opens the <span class="property">Deployment mode</span>. On the picture below the <span class="property">Deployment mode</span> is
  +                performed with default settings. Here, you can easily modify them or, if the
  +                settings won't match your needs, to reset defaults. </p><div class="figure"><a id="d0e815"/><div class="figure-contents"><div class="mediaobject"><img src="images/the_views/the_views_10.png" alt="The Deployment Mode"/></div></div><p class="title"><b>Figure 4.11. The Deployment Mode</b></p></div><br class="figure-break"/><p>The button <span class="emphasis"><em>
  +                    <span class="property">Test Connections</span>
  +                </em></span> is necessary to make sure whether all your settings are valid before
  +                deploying the process.</p></div></div><p>Now that we've seen how to work with <span class="property">jPDL perspective</span>, let's pass on to the project testing.</p></div><div xmlns="" class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="25%" align="left" class="previous"><a accesskey="p" href="GuidedTourJBossjBPMGPD.html">Prev</a> </td><td width="25%" align="right" class="up"> </td><td width="25%" align="left" class="home"><a accesskey="h" href="index.html">Front page</a></td><td width="25%" align="right" class="next"> <a accesskey="n" href="Test_Drive_Proc_Development.html">Next</a></td></tr><tr><td align="left" valign="top"> </td><td align="right" valign="top"> </td></tr></table></div></body></html>
  \ No newline at end of file

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Jbpm-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jbpm-cvs