<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christophe Hamerling [Archive] &#187; jbi</title>
	<atom:link href="http://planet.petalslink.com/home/chamerling/tag/jbi/feed/" rel="self" type="application/rss+xml" />
	<link>http://planet.petalslink.com/home/chamerling</link>
	<description>Things around SOA, Web Services, Open Source and more...</description>
	<lastBuildDate>Wed, 07 Oct 2009 13:16:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>PEtALS Distributed Service Bus Illustrated</title>
		<link>http://planet.petalslink.com/home/chamerling/2008/11/28/petals-distributed-service-bus-illustrated/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2008/11/28/petals-distributed-service-bus-illustrated/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 09:57:24 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[distributed]]></category>
		<category><![CDATA[jbi]]></category>
		<category><![CDATA[orchestration]]></category>
		<category><![CDATA[slideshare]]></category>
		<category><![CDATA[soa4all]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=36</guid>
		<description><![CDATA[Here are some slides extracted from a SOA4All presentation I gave last month in a technical meeting. It introduces the distributed aspects of PEtALS and also give some deployment and orchestration samples.]]></description>
			<content:encoded><![CDATA[<p>Here are some slides extracted from a <a href="http://www.soa4all.eu" target="_blank">SOA4All</a> presentation I gave last month in a technical meeting. It introduces the distributed aspects of PEtALS and also give some deployment and orchestration samples.</p>
<iframe src="http://www.slideshare.net/slideshow/embed_code/795867" width="425" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br/><br/>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2008/11/28/petals-distributed-service-bus-illustrated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a JBI Component with PEtALS CDK (Part 1)</title>
		<link>http://planet.petalslink.com/home/chamerling/2008/10/24/20/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2008/10/24/20/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 12:05:09 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[jbi]]></category>
		<category><![CDATA[soa]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/2008/10/24/20/</guid>
		<description><![CDATA[Here is a series of articles about how to create a JBI Component with the PEtALS Component Development Kit (CDK). The current one describes how to create the project structure with the PEtALS Maven archetypes, how to use it in Eclipse and how to package it as a JBI component. Create the project structure (I [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a series of articles about how to create a JBI Component with the PEtALS Component Development Kit (CDK).<br />
The current one describes how to create the project structure with the PEtALS Maven archetypes, how to use it in Eclipse and how to package it as a JBI component.</p>
<h2>Create the project structure</h2>
<p>(I assume that Maven is installed and is in the path, if not please refer to the Apache Maven website).</p>
<p><em><span style="font-family: Arial">mvn archetype:create<br />
-DarchetypeGroupId=org.ow2.petals<br />
-DarchetypeArtifactId=maven-archetype-petals-jbi-service-engine<br />
-DarchetypeVersion=1.3.0-SNAPSHOT<br />
-DgroupId=com.ebmws.petals<br />
-DartifactId=petals-se-sample<br />
-Dversion=1.0-SNAPSHOT</span></em></p>
<p>This will create the standard component structure.<br />
You can check the JBI descriptor in petals-se-sample/src/main/jbi. Note that some fields such as the classpath are automatically filled during the packaging phase from the dependencies specified in your POM descriptor.</p>
<h2>Create the Eclipse project</h2>
<p><em>cd petals-se-sample<br />
mvn eclipse:eclipse<br />
</em><br />
In Eclipse, import the project and you will get</p>
<div id="sy8e" style="padding: 1em 0pt;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_178htjfm9c2_b" target="_blank"><img style="width: 474px;height: 414px" src="http://docs.google.com/File?id=dcrqrprg_178htjfm9c2_b" alt="" /></a></div>
<h2>Do your business code</h2>
<p>Now in the JBIListener class, you can implement the business logic which will be called when a JBI message is received in the activated JBI Endpoind (How to activate endpoint will come in the next article).</p>
<p>For example, just say hello to the world in the JBIListener like this :</p>
<div id="tb8k" style="padding: 1em;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_1797d8brdgx_b" target="_blank"><img style="width: 100%" src="http://docs.google.com/File?id=dcrqrprg_1797d8brdgx_b" alt="" /></a></div>
<h2>Package the component</h2>
<p>Simply package it with<br />
<em>mvn install</em></p>
<p>You will get a ZIP archive in the target directory which is the component you can deploy in PEtALS container</p>
<div id="y.jy" style="padding: 1em;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_180ckvw25gh_b" target="_blank"><img style="width: 100%" src="http://docs.google.com/File?id=dcrqrprg_180ckvw25gh_b" alt="" /></a></div>
<p>The source of this component are available here <a id="no8s" title="http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip" href="http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip" target="_blank">http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2008/10/24/20/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

