<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jBPM4 real-life example: The Train Ticket Demo (part 2: coding the business process)</title>
	<atom:link href="http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/</link>
	<description>Small steps with big feet</description>
	<lastBuildDate>Wed, 18 Jan 2012 17:26:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Matthias</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-6269</link>
		<dc:creator>Matthias</dc:creator>
		<pubDate>Tue, 01 Feb 2011 14:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-6269</guid>
		<description>Great, helped a lot! Brings up development to speed as it is totally focussed and straightforward.</description>
		<content:encoded><![CDATA[<p>Great, helped a lot! Brings up development to speed as it is totally focussed and straightforward.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Nguyen</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3925</link>
		<dc:creator>Tom Nguyen</dc:creator>
		<pubDate>Tue, 08 Dec 2009 04:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3925</guid>
		<description>Thanks for the sample, How can we customize task class in jbpm?</description>
		<content:encoded><![CDATA[<p>Thanks for the sample, How can we customize task class in jbpm?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3899</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Wed, 21 Oct 2009 12:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3899</guid>
		<description>Thank you for your quick responses and patience with my basic newbie questions.  

The piece I was missing was that I needed to download/execute Subversion from Collabnet in order to export your entire project out of your svn trunk.  I&#039;ve done that, and now I have what I need.</description>
		<content:encoded><![CDATA[<p>Thank you for your quick responses and patience with my basic newbie questions.  </p>
<p>The piece I was missing was that I needed to download/execute Subversion from Collabnet in order to export your entire project out of your svn trunk.  I&#8217;ve done that, and now I have what I need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joram Barrez</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3898</link>
		<dc:creator>Joram Barrez</dc:creator>
		<pubDate>Wed, 21 Oct 2009 06:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3898</guid>
		<description>@Pat: You can find the source on our svn: just checkout the trunk directories from https://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/</description>
		<content:encoded><![CDATA[<p>@Pat: You can find the source on our svn: just checkout the trunk directories from <a href="https://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/" rel="nofollow">https://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3895</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Tue, 20 Oct 2009 14:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3895</guid>
		<description>Sorry, but I&#039;m still missing something (probably something very obvious), but exactly WHERE is the .zip project file that I download, in order to Import it into Eclipse as a maven project, so that I can view/debug TrainTicketProcessUnitTestDemo.java. , process.jpdl.xml, CalculateQuoteAction.java, etc.</description>
		<content:encoded><![CDATA[<p>Sorry, but I&#8217;m still missing something (probably something very obvious), but exactly WHERE is the .zip project file that I download, in order to Import it into Eclipse as a maven project, so that I can view/debug TrainTicketProcessUnitTestDemo.java. , process.jpdl.xml, CalculateQuoteAction.java, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joram Barrez</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3892</link>
		<dc:creator>Joram Barrez</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:14:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3892</guid>
		<description>@Pat: You should have Eclipse with the m2Eclipse plugin. If you have that plugin installed, it should just be a matter of doing File -&gt; import -&gt; maven project.</description>
		<content:encoded><![CDATA[<p>@Pat: You should have Eclipse with the m2Eclipse plugin. If you have that plugin installed, it should just be a matter of doing File -> import -> maven project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3889</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Mon, 19 Oct 2009 13:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3889</guid>
		<description>Hello,  I would like to import this demo project into Eclipse to study the source, and run it through debug, etc.  Please detail exactly how to import into Eclipse.</description>
		<content:encoded><![CDATA[<p>Hello,  I would like to import this demo project into Eclipse to study the source, and run it through debug, etc.  Please detail exactly how to import into Eclipse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joram</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3888</link>
		<dc:creator>Joram</dc:creator>
		<pubDate>Wed, 30 Sep 2009 14:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3888</guid>
		<description>@Andrey: To run the unit test, the easiest is to get the jboss server running. Download the all-in-one-zip, and start the server.

The unit test should be running now (I should rewrite the test using embedded JBoss, I know)</description>
		<content:encoded><![CDATA[<p>@Andrey: To run the unit test, the easiest is to get the jboss server running. Download the all-in-one-zip, and start the server.</p>
<p>The unit test should be running now (I should rewrite the test using embedded JBoss, I know)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3884</link>
		<dc:creator>Andrey</dc:creator>
		<pubDate>Mon, 21 Sep 2009 21:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3884</guid>
		<description>Is there some installation howto?

I&#039;ve downloaded from http://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/jbpm-on-rails/trunk/process-logic/ and tried to import pom.xml into my eclipse ... the build failed, after fixing some dependencies the hibernate failed, after fixing hibernate config, something else failed ... &quot;ould not obtain connection to any of these urls: localhost:1099&quot; ... 

Are there some tricks I have to do? Straightforward method (download -&gt; import -&gt; run) doesn&#039;t work for me.

Thank you,
Andrey</description>
		<content:encoded><![CDATA[<p>Is there some installation howto?</p>
<p>I&#8217;ve downloaded from <a href="http://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/jbpm-on-rails/trunk/process-logic/" rel="nofollow">http://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/jbpm-on-rails/trunk/process-logic/</a> and tried to import pom.xml into my eclipse &#8230; the build failed, after fixing some dependencies the hibernate failed, after fixing hibernate config, something else failed &#8230; &#8220;ould not obtain connection to any of these urls: localhost:1099&#8243; &#8230; </p>
<p>Are there some tricks I have to do? Straightforward method (download -&gt; import -&gt; run) doesn&#8217;t work for me.</p>
<p>Thank you,<br />
Andrey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joram Barrez</title>
		<link>http://www.jorambarrez.be/blog/2009/09/11/jbpm4-real-life-example-the-train-ticket-demo-part-2-coding-the-business-process/comment-page-1/#comment-3865</link>
		<dc:creator>Joram Barrez</dc:creator>
		<pubDate>Sat, 12 Sep 2009 12:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.jorambarrez.be/blog/?p=355#comment-3865</guid>
		<description>@George: Thanks for the encouragement! Keep on eye on my RSS feed, because the next articles are going to be really awesome ;-)

There is indeed one fundamental difference between the &#039;custom&#039; and &#039;java activity&#039;. The &#039;custom&#039; activity implements a jBPM interface, BUT is has also access to the execution that way. The Java activity doesn&#039;t have access to the execution, but you can call just any method on the class you define. Since I need the execution to retrieve and store the process variables (see CalculateQuoteAction), I need to use a custom activity.

An additional advantage of the custom activity is that you can control the execution. If you want the activity to behave as a wait state, then you can do this very easily.

So to conclude: a Java activity is for a true automatic piece of logic, a custom activity is for anything else (only limited by your imagination). In practice, you&#039;ll probably use the custom activity more than the Java activity.</description>
		<content:encoded><![CDATA[<p>@George: Thanks for the encouragement! Keep on eye on my RSS feed, because the next articles are going to be really awesome <img src='http://www.jorambarrez.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>There is indeed one fundamental difference between the &#8216;custom&#8217; and &#8216;java activity&#8217;. The &#8216;custom&#8217; activity implements a jBPM interface, BUT is has also access to the execution that way. The Java activity doesn&#8217;t have access to the execution, but you can call just any method on the class you define. Since I need the execution to retrieve and store the process variables (see CalculateQuoteAction), I need to use a custom activity.</p>
<p>An additional advantage of the custom activity is that you can control the execution. If you want the activity to behave as a wait state, then you can do this very easily.</p>
<p>So to conclude: a Java activity is for a true automatic piece of logic, a custom activity is for anything else (only limited by your imagination). In practice, you&#8217;ll probably use the custom activity more than the Java activity.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.285 seconds -->

