<?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>Legolas in Minas Tirith &#187; esb</title>
	<atom:link href="http://www.javalinux.it/wordpress/categories/jboss/esb-jboss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javalinux.it/wordpress</link>
	<description>Alessio &#38; Stefano ideas</description>
	<lastBuildDate>Wed, 14 Sep 2011 14:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>I&#8217;m partecipating in JBoss Community Leadership Awards</title>
		<link>http://www.javalinux.it/wordpress/2009/01/19/im-partecipating-in-jboss-community-leadership-awards/</link>
		<comments>http://www.javalinux.it/wordpress/2009/01/19/im-partecipating-in-jboss-community-leadership-awards/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 11:31:48 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[dna]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jbossws]]></category>
		<category><![CDATA[wise]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=228</guid>
		<description><![CDATA[I&#8217;m participating in this poll as candidate for New features contribution. As you probably remember I&#8217;ve contributed in DNA, JBossWS (sometime in the past), and JBossESB integrating Wise into ESB 4.4.  Moreover Wise is now a JBoss.org project: I&#8217;ve donated it some months ago and I&#8217;m leading the project there, and we have already released [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m participating in this poll as candidate for New features contribution.</p>
<p>As you probably remember I&#8217;ve <a href="http://www.javalinux.it/wordpress/?p=30">contributed</a> in <a href="http://www.jboss.org/dna" target="_blank">DNA</a>, <a href="http://www.jboss.org/jbossws" target="_blank">JBossWS</a> (sometime in the past), and <a href="http://www.jboss.org/jbossesb" target="_blank">JBossESB</a> <a href="http://www.javalinux.it/wordpress/?p=82">integrating Wise</a> into <a href="http://jbossesb.blogspot.com/2008/08/zero-code-web-services-addition.html" target="_blank">ESB 4.4</a>.  Moreover <a href="http://jbossesb.blogspot.com/2008/10/wise-as-jboss-project.html">Wise is now a JBoss.org projec</a>t: <a href="http://www.javalinux.it/wordpress/?p=196">I&#8217;ve donated it</a> some months ago and <a href="http://www.jboss.org/Wise" target="_blank">I&#8217;m leading the project</a> there, and we have already released <a href="http://jbosswise.blogspot.com/2008/11/wise-09-released.html" target="_blank">0.9</a> and <a href="http://jbosswise.blogspot.com/2009/01/wise-10-released.html" target="_blank">1.0</a> versions.</p>
<p>If you like my efforts and would support me, and/or you are using Wise (within JBossESB or not) may I kindly ask  your vote there (you need a JBoss.org account, but it&#8217;s quite easy to<a href="http://jboss.com/index.html?op=checkage&amp;module=user" target="_blank"> register one</a>):</p>
<p><a href="http://www.jboss.org/community/poll.jspa?poll=1003">http://www.jboss.org/community/poll.jspa?poll=1003 </a></p>
<p>More infos from JBoss.og homepage:</p>
<blockquote>
<h5><em>Voting will end on January 30th 2009 and winners will be announced at the <a class="jive-link-external-small" href="http://www.jboss.com/virtualexperience">JBoss Virtual Experience</a>, a web-based JBoss technology conference which will be held February 11th 2009. There is no charge for admission, but please <a class="jive-link-external-small" href="http://www-2.virtualevents365.com/jboss_experience/register.php">advance register</a> if you&#8217;d like to attend.<br />
Terms and conditions are <a class="jive-link-external-small" href="http://www.jboss.org/resources/JBossVirtualTerms.html">here</a>. Please join us in giving these community members the recognition they deserve.</em></h5>
</blockquote>
<p>As said in <a href="http://www.javalinux.it/wordpress/?p=196">this post</a>, a lot of the <span style="cursor: pointer;" onclick="dr4sdgryt(event,&quot;Ox&quot;)"><span class="hg"><span class="hw">strength</span></span></span> spurring on an open source developer is <a href="http://en.wikipedia.org/wiki/Narcissism" target="_blank">narcissism</a>. Help mine to grow up <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2009/01/19/im-partecipating-in-jboss-community-leadership-awards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JBossESB and Wise to implement ETL phase for a big DataWareHouse</title>
		<link>http://www.javalinux.it/wordpress/2008/09/15/jbossesb-and-wise-to-implement-etl-phase-for-a-big-datawarehouse/</link>
		<comments>http://www.javalinux.it/wordpress/2008/09/15/jbossesb-and-wise-to-implement-etl-phase-for-a-big-datawarehouse/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 21:28:10 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[esb]]></category>
		<category><![CDATA[jbossfeed]]></category>
		<category><![CDATA[jbossws]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[webserice]]></category>
		<category><![CDATA[wise]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=95</guid>
		<description><![CDATA[As I wrote in some previous posts me and my fine team are working from a while to a project using JBossESB Wise action in a real world enterprise application. We are using it for the ETL (Extract Transfor Load) phase for a big DWH (Data Ware House) with an incremental loading of data. In [...]]]></description>
			<content:encoded><![CDATA[<p>As I wrote in some previous posts me and my fine team are working from a while to a project using <a href="http://www.jboss.org/jbossesb/" target="_blank">JBossESB</a> <a href="http://www.javalinuxlabs.org/" target="_blank">Wise</a> action in a real world enterprise application. We are using it for the <a href="http://en.wikipedia.org/wiki/Extract,_transform,_load" target="_blank">ETL (Extract Transfor Load)</a> phase for a big <a href="http://en.wikipedia.org/wiki/Data_warehouse" target="_blank">DWH (Data Ware House)</a> with an incremental loading of data.</p>
<p>In a nutshell we trace logical changes on an <a href="http://en.wikipedia.org/wiki/OLTP" target="_blank">OLTP</a> database (it&#8217;s a financial DB where all changes can be associated logically to a single company or at least to a network of company related for various reasons). Then we use JBossESB (and in particular SQLGateway) to periodically treat modified companies and extracting and enriching information to be loaded on the DWH instance. Where wise have its place? Well a lot of information and business rule to extract or enrich data have been implemented as <a href="http://en.wikipedia.org/wiki/Webservices" target="_blank">webservices</a> in last 3/4 years. So it&#8217;s pretty natural to reuse them to implement this last application.</p>
<p>Ok, it&#8217;s the bird eye view of the problem and the solution. On the rest of the post I&#8217;ll go in more formal details, starting with requirement and environment description</p>
<h2>Requirement and environment description</h2>
<p>The main requirement have been to collect a set of data regarding a large set of company (about 5 million) in a DWH for a marketing analysis. This data comes from different systems: 3 different OLTP relational database, and legacy host based system, an external provider. The good news is that both host system and external provider are accessible using webservices. Moreover OLTP databases have some webservices extracting data applying complex business rules; they doesn&#8217;t cover all requirements, but these DBs are completely under control of our development team, and dedicated jdbc and/or EJB3 access could be developed for new goals.</p>
<p>The final users would update it&#8217;s DWH with daily frequency. The large amount of data made impossible to extract transform and load the whole data every night. We have decided to keep track of changes on the main OLTP DB, and reload completely companies changed (some thousands a day).</p>
<p>Of course this approach isn&#8217;t totally new, incremental ETL are pretty common in DWH world, and all vendors have its own proprietary solution. While these proprietary system have its place and its plus, isn&#8217;t IMHO sufficient flexible to support an heterogeneous environment as one described. I thought it&#8217;s better to track with proprietary triggers logical significative changes (not a lot in fact) and adopt a SOA solution for ETL. It would be better in terms of flexibility and would permit us to reuse much more easily a lot of already written services containig complex business rules.</p>
<p>So the solution adopted have been based on JBossESB ant its composed by these macro steps:</p>
<ol>
<li>A set of triggers on 2 of 3 named OLTP DB collect changes and write a unique identifier of the company in a dedicated table</li>
<li>A SQLGateway consume this table (the frequency of wake up and filters of the query are designed to avoid excessive and and not useful double treatment of companies due to double linked changes)</li>
<li>Any company is processed by a set of action chains. This actions could be locally defined actions reading relational database or Wise based web services invocations. A content based router policy route messages from an action chain to the next one.</li>
<li>Finally data extracted and transformed are written on the DWH.</li>
</ol>
<p>Point 3 is of course the core of the system. The SQLGateway create a message containing a pojo object called Company and any successive action trasform or enrich this object with data collected and business rules applied. Wise&#8217;s based action calls webservices and use smooks to transform and enrich input object with ws returned values. Using CBR and continuous enrichment of the same object we get at last action (writeOnDWH) an object with all data needed t be written on the DWH.</p>
<h2>Focus on Wise</h2>
<p>A lot of actions are simply webservices calls implemented with a zero-code approach using Wise. We had just to write jboss-esb.xml fragment for webservice call and smooks config files to get a lot of business rules reused. It have been really GREAT!</p>
<p>I need to add some patch to current integration in ESB to obtain the max response from wise, but results have been really impressive: we had something like 90K company processed in an hour. What does it mean in finer details? Well from wise point of view about <span style="text-decoration: underline;"><span style="color: #ff0000;"><strong>300K web services calls in an hour!</strong></span></span><br />
Well also performance and numbers of ESB have been impressive: we are running on a single Linux64 machine (AMD64 double dual core) with 10 jms-listener processing 10 different chains  (200 concurrent 3ad for any jms-listener) for a t<strong>otal of 1.7M (wise and not) of actions called in an hour.</strong></p>
<h4>Isn&#8217;t it impressive numbers?</h4>
<p>There is a list of patches I applied to wise/esb integration to support my requirement. All the code are committed on my workspace (maeste) in <a href="http://www.jboss.org/jbossesb/subversion.html">ESB svn</a>:</p>
<table id="searchresults_portlet_12313828" border="0" cellspacing="1" cellpadding="3" width="100%">
<tbody>
<tr class="rowNormal JBESB-2019-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2019"> <img title="Feature Request - A new feature of the product, which has yet to be developed." src="https://jira.jboss.org/jira/images/icons/newfeature.gif" border="0" alt="Feature Request" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2019" target="_blank"><span class="issuekey">JBESB-2019</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2019">wise should  pass to smooks response mapper also input data to permit continuos enrichement of message</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowAlternate JBESB-2020-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2020"> <img title="Bug - A problem which impairs or prevents the functions of the product." src="https://jira.jboss.org/jira/images/icons/bug.gif" border="0" alt="Bug" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2020" target="_blank"><span class="issuekey">JBESB-2020</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2020">wise have a bug for which it may download too many wsdls and store them in a temporary dir</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowNormal JBESB-2021-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2021"> <img title="Feature Request - A new feature of the product, which has yet to be developed." src="https://jira.jboss.org/jira/images/icons/newfeature.gif" border="0" alt="Feature Request" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2021" target="_blank"><span class="issuekey">JBESB-2021</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2021">add configurability for location where wise store smooks reports for its transformation</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowAlternate JBESB-2022-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2022"> <img title="Bug - A problem which impairs or prevents the functions of the product." src="https://jira.jboss.org/jira/images/icons/bug.gif" border="0" alt="Bug" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2022" target="_blank"><span class="issuekey">JBESB-2022</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2022">wise doesn&#8217;t clean its internal smooks cache</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowNormal JBESB-2023-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2023"> <img title="Bug - A problem which impairs or prevents the functions of the product." src="https://jira.jboss.org/jira/images/icons/bug.gif" border="0" alt="Bug" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2023" target="_blank"><span class="issuekey">JBESB-2023</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2023">Wise is failed to consume a wsdl which contains two schema element with same name and different namespace . </a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowAlternate JBESB-2036-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2036"> <img title="Bug - A problem which impairs or prevents the functions of the product." src="https://jira.jboss.org/jira/images/icons/bug.gif" border="0" alt="Bug" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2036" target="_blank"><span class="issuekey">JBESB-2036</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2036">wise&#8217;s sample have problem because targetPackage not specified in properties files</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
<tr class="rowNormal JBESB-2037-tr">
<td width="1%"><a href="https://jira.jboss.org/jira/browse/JBESB-2037"> <img title="Feature Request - A new feature of the product, which has yet to be developed." src="https://jira.jboss.org/jira/images/icons/newfeature.gif" border="0" alt="Feature Request" width="16" height="16" align="absmiddle" /> </a></td>
<td width="1%"><span style="font-size: xx-small;"><a href="https://jira.jboss.org/jira/browse/JBESB-2037" target="_blank"><span class="issuekey">JBESB-2037</span></a></span></td>
<td width="100%"><a style="text-decoration: none;" href="https://jira.jboss.org/jira/browse/JBESB-2037">Avoid excessive reflective inspection of wise classes for better performance</a></td>
<td width="1%"><img title="Major - A request that should be considered seriously but is not a show stopper." src="https://jira.jboss.org/jira/images/icons/priority_major.gif" border="0" alt="Major" width="16" height="16" align="absmiddle" /></td>
</tr>
</tbody>
</table>
<p>I can&#8217;t go in more detail of the implementation or put here configs files because I cna&#8217;t reveal any business details of the application. I&#8217;ll try in next future to arrange an example totally equivalent in technology content, but without any link to real business content. If you are interested let me know, but be patients&#8230;it&#8217;s not a joke and I&#8217;m very very busy these days.</p>
<h4>Thanks to my team (special thanks to Paolo and Luca)  and all contributors of Wise and ESB to make it possible <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </h4>
<p>PS: what about <a href="http://milyn.codehaus.org/jbossesb/huge-split-route-qs/README.html" target="_blank">huge split and route qs</a> included in ESB 4.4. Well they cover different problems, even if not far each other. The main difference is that here we haven&#8217;t a huge message to split and route, but a lot of little message to enrich and then route (content based) to next enrichment phases.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2008/09/15/jbossesb-and-wise-to-implement-etl-phase-for-a-big-datawarehouse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JBossESB 4.4 have a new zero-code webservice invoker</title>
		<link>http://www.javalinux.it/wordpress/2008/08/07/jbossesb-44-have-a-new-zero-code-ws-invoker/</link>
		<comments>http://www.javalinux.it/wordpress/2008/08/07/jbossesb-44-have-a-new-zero-code-ws-invoker/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 21:20:33 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[esb]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jbossfeed]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[webserice]]></category>
		<category><![CDATA[wise]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=82</guid>
		<description><![CDATA[We are proud to announce that recently released JBossESB 4.4 contain a wise based implementation of webservice client invoker. In a nutshell it is a zero-code webservice caller supporting smooks based mapping, and pluggable JAX-WS handler. Here is an abstract of the message with which I presented it to ESB community (here you find original [...]]]></description>
			<content:encoded><![CDATA[<p>We are proud to announce that<a href="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;p=4169068#4169068" target="_blank"> recently released</a> <a href="http://www.jboss.org/jbossesb/" target="_self">JBossESB</a> 4.4 contain a <a href="http://www.javalinuxlabs.org/wise/index.html" target="_blank">wise</a> based implementation of webservice client invoker.</p>
<p>In a nutshell it is a zero-code webservice caller supporting <a href="http://milyn.codehaus.org" target="_blank">smooks</a> based mapping, and pluggable JAX-WS handler. Here is an abstract of the message with which I presented it to ESB community (<a href="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=137998" target="_blank">here</a> you find original message and related discussion):</p>
<blockquote><p><span class="postbody">It uses wsconsume API to dynamically generate client object and invoke web service, delagating to JBossWS JAX-WS implementation the dirty job.<br />
It use smooks under the hood to transform user defined object into JAX-WS generated ones.</span></p>
<p>It support also standard JAX-WS handler and a generic smooks transformation handler to apply transformation to generated soap messages.</p>
<p>You can find it in my workspace under  product/services/soap/src/main/java/org/jboss/soa/esb/actions/soap/wise/<br />
I also wrote javadoc for the action class explaining how to use it and e example demonstrating 3 common use case:</p>
<p>* Direct call of a simple service without any mapping is needed<br />
* Call of a service using a smooks mapper java-to-java<br />
* Call a simple webservices without mapping, but with an handler<br />
modifying  header with smooks and an handler logging on System.out<br />
request and response<br />
In this 3 examples don&#8217;t forget to have a look to wise-core.properties for some important configs. Of course they could be integrated in action&#8217;s config in jboss-esb.xml in next future, but this first implementation leave them there.</p>
<p>On wise roadmap I have the implementation of webservices&#8217; call receiving different resources (CSV, XML and so on) using smooks to map it on JAX-WS generated client objects, giving another interesting opportunity in ESB environment.</p>
<p>It is an initial implementation, and I need to integrate wise objects generation with new smooks configgenerator ( <a class="postlink" href="http://milyn.codehaus.org/Smooks+User+Guide#SmooksUserGuide-GeneratingtheSmooksBindingConfiguration" target="_blank">http://milyn.codehaus.org/Smooks+User+Guide#SmooksUserGuide-GeneratingtheSmooksBindingConfiguration</a> ) to make user experience easier.</p></blockquote>
<p>Moreover we are working on wise-core to improve it and make it more configurable an pluggable and support much more stuffs. I&#8217;ll post a roadmap soon.</p>
<p>Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2008/08/07/jbossesb-44-have-a-new-zero-code-ws-invoker/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>SOA and heterogeneous technology environmet: eggs and chicken problem</title>
		<link>http://www.javalinux.it/wordpress/2008/07/20/soa-and-heterogeneous-technology-environmet-eggs-and-chicken-problem/</link>
		<comments>http://www.javalinux.it/wordpress/2008/07/20/soa-and-heterogeneous-technology-environmet-eggs-and-chicken-problem/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 20:22:40 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[esb]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jbossfeed]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=49</guid>
		<description><![CDATA[One of the use case for witch a SOA (ESB) solutions is recommended is when you have to manage a complex &#8220;technology heterogeneous&#8221; environment. Well, I&#8217;m thinking about a good design for some new important feature to be added to our complex environment. Our environment is indeed complex, with wide impact, with heterogeneous needing, but [...]]]></description>
			<content:encoded><![CDATA[<p>One of the use case for witch a SOA (ESB) solutions is recommended is when you have to manage a complex &#8220;technology heterogeneous&#8221; environment.</p>
<p>Well, I&#8217;m thinking about a good design for some new important feature to be added to our complex environment. Our environment is indeed complex, with wide impact, with heterogeneous needing, but it is quite homogeneous in technology. OK, it isn&#8217;t a monolithic system, it is build by a lot of part, but a lot of this part are java(2ee)/oracle based.</p>
<p>But the question is:<strong>do I like to keep my system so homogeneous?</strong> IOW if I invest a lot of money adding these new features to my system, which involve to use/review most of developed software, <strong>is it really the right choice to keep it all based on java?</strong></p>
<p>I&#8217;m a java guru and fun using it as my main development language in last 10 years, but my answer is</p>
<h3>NO</h3>
<p>Why NO? Because if I take a look behind in the past I can see a lot of system architects answering &#8220;yes!&#8221; at same question 20 years ago substituting &#8220;Java&#8221; with &#8220;COBOL&#8221;. And a shudder come on my back&#8230;would I really sentence my system to be so strictly coupled with a single technology and loose flexibility and cool feature of newer technology? I&#8217;m not sure Java will become the next COBOL going to be static and legacy, but for sure, if I would answer yes I would be disown my ideas of &#8220;open system&#8221;.</p>
<p>There are so good languages and technologies kicking around, which probably solve better some kind of problem. <a href="http://groovy.codehaus.org/" target="_blank">Groovy</a>, <a href="http://www.scala-lang.org/" target="_blank">Scala</a> and <a href="http://www.ruby-lang.org/en/" target="_blank">Ruby</a> are the most famous, but we have also <a href="http://groovy.codehaus.org/" target="_blank">Erlang</a>, <a href="http://factorcode.org/" target="_blank">Factor</a> (with good ideas and <a href="http://factorcode.org/slava/" target="_blank">a friend of mine</a> behind), and even more legacy language like <a href="http://www.perl.org/" target="_blank">perl</a> could have its place in some specific use cases. In general if something could be more productive or more flexible than java for some specific problem, I&#8217;d like to keep doors open. <a href="http://metypefunny.blogspot.com/" target="_blank">Randall</a> did an interesting <a href="http://jbossdna.blogspot.com/2008/06/java-developers-should-learn-ruby.html" target="_blank">post</a> saying java developers should learn other languages, I make a step over saying java developers should <strong>USE</strong> other languages</p>
<p>I&#8217;ve been always open to new technology and solution, would I miss my freedom of choice in favour of my beloved language? No, my freedom is much more important than java <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Designing my new system I would use best technology and language for each part of the system. It&#8217;s always a good decision, the good news is integration of these parts could be seamless and painless, we haveSOA/ESB solution.</p>
<p>My conclusion is that isn&#8217;t necessary to have heterogeneous system to go for SOA, probably is the contrary: nowadays we need heterogeneous system to be time to market, to have easier maintenance, and so we need SOA to build and manage it.</p>
<p>SOA and heterogeneous technology environment seems to be the  eggs and chicken problem <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thoughts?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2008/07/20/soa-and-heterogeneous-technology-environmet-eggs-and-chicken-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wise-core in jbossesb first implementation</title>
		<link>http://www.javalinux.it/wordpress/2008/06/24/wise-core-in-jbossesb-first-implementation/</link>
		<comments>http://www.javalinux.it/wordpress/2008/06/24/wise-core-in-jbossesb-first-implementation/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 11:30:10 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[esb]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jbossfeed]]></category>
		<category><![CDATA[jbossws]]></category>
		<category><![CDATA[webserice]]></category>
		<category><![CDATA[wise]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=43</guid>
		<description><![CDATA[As said in this post one of possible use of wise-core (the new core we get independent from Wise) is to integrate it in JBossESB to make a generic soap client invoking web service using Smooks transformation to hide final user the gap between their own object models and one generated by JAX-WS tools dynamically. [...]]]></description>
			<content:encoded><![CDATA[<p>As said in this <a href="http://www.javalinux.it/wordpress/?p=26" target="_blank">post </a>one of possible use of wise-core (the new core we get independent from <a href="http://www.javalinuxlabs.org/wise/index.html" target="_blank">Wise</a>) is to integrate it in <a href="http://www.jboss.org/jbossesb/">JBossESB</a> to make a generic soap client invoking web service using <a href="http://milyn.codehaus.org/">Smooks</a> transformation to hide final user the gap between their own object models and one generated by JAX-WS tools dynamically.</p>
<p>Well I contribute with some code to JBossESB providing an action which does what I described in a nutshell here. My efforts and possible improvements are described in <a href="http://www.jboss.com/index.html?module=bb&amp;op=viewtopic&amp;t=137998" target="_blank">this post</a> on ESB developer forum.</p>
<p>Give your feed back there.</p>
<p>BTW I&#8217;m developing a real world application based on ESB and this wise-action: it takes some date from a db, enrich the message calling a set of webservices using wise, conditioning these calls with a <a href="http://www.jboss.org/jbossesb/docs/4.3.GA/manuals/html/services/ContentBasedRouting.html">content based routing</a> approach, and then write the databack into db. I&#8217;m planning a post about this application as soon as me and my team will finish it&#8230;.stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2008/06/24/wise-core-in-jbossesb-first-implementation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The future of wise (And Lms)</title>
		<link>http://www.javalinux.it/wordpress/2008/04/13/the-future-of-wise-and-lms/</link>
		<comments>http://www.javalinux.it/wordpress/2008/04/13/the-future-of-wise-and-lms/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 20:55:33 +0000</pubDate>
		<dc:creator>Stefano MAESTRI</dc:creator>
				<category><![CDATA[esb]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jbossws]]></category>
		<category><![CDATA[wise]]></category>

		<guid isPermaLink="false">http://www.javalinux.it/wordpress/?p=26</guid>
		<description><![CDATA[It&#8217;s time to discuss with the community the future of Wise and Lms. First of all a clarification: Alessio and me have being very busy in last months, but we are not planning to stop development of Wise and Lms. We have 2 different approach possible, not mutually exclusive each other: integrate wise and Lms [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to discuss with the community the future of <a href="http://www.javalinuxlabs.org/wise/index.html" target="_blank">Wise</a> and <a href="http://www.javalinuxlabs.org/lms/index.html" target="_blank">Lms.</a> First of all a clarification: Alessio and me have being very busy in last months, but we are not planning to stop development of Wise and Lms.</p>
<p>We have 2 different approach possible, not mutually exclusive each other:</p>
<ol>
<li> integrate wise and Lms adding some functionality like saving request/response and code generation, making wise+lms a suite to test webservice, keeping QA people in mind and their relation with development people. We are thinking in this area about functionality to save, review and resend request and a common dashboard to manage wsdls, servers and so on.</li>
<li>Separate wise-core (dynamic generation of jaxws client and object exchange) from wise-gui (or wise-seam as you like to call it). This step would be important to use wise-core as generic API to call webservice</li>
</ol>
<p>Ok, first point is well known for our blog&#8217;s readers, but why we are starting a discussion now about the second point? Well, it comes from the idea to use wise to make an action for jbossesb for call web service instead of the current implementation. I took a look to what jbossesb is doing at the moment in this area, and  I thought wise can do a lot of these things, using standard JAX-WS wsconsume  APIC generated classes.</p>
<p>I don&#8217;t want to discuss here the specif needs of <a href="http://www.jboss.org/jbossesb/" target="_blank">jbossesb</a>, but in general I believe it could be a good approach when you need a total and effective decoupling of the client and server using ws to inter operate. It&#8217;s matter of fact that wsconsume tools is great for java developer, generating needed stub class, but it introduce a new (or renewed <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )  level of coupling very similar to corba IDL.  Generating statically  webservice stub you are in fact coupling client and server.</p>
<p>So what is the alternative? <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/twbs_jaxwsdynclient.html" target="_blank">Writing dynamic client using Dynamic dispatch JAX-WS API</a>? Maybe, but I would prefer a solution using dynamic mapping on generated stub, exactly what wise 1.x does. In fact Wise did a mapping between a generuic user interface and generated stub objects. My idea is to extend this concept and permit to call a webservice mapping a generic Object Model to jaxws generated one. Are we reinventing the wheel? I don&#8217;t think so because IMHO JAX-WS dynamic dispatch isn&#8217;t a perfect turning wheel, and I hope Wise-core does the job better <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>How wise-core does perform this generic task? In a nutshell it does the same wise 1.x did, generating on the fly classes using wsconsume runtime API, loading them in current class loader and use them with Java Reflection API. What we add is generic mapping API to transform an arbitrary object model in wsconsume generated ones, make the call, and mapping the answer back again to custom model.</p>
<p>The implementation can be viewed in our <a href="http://jax-wise.svn.sourceforge.net/viewvc/jax-wise/trunk/" target="_blank">svn (trunk)</a>, and it&#8217;s based on a refactoring of our original code and an extensive use of Smooks. <a href="http://milyn.codehaus.org/Smooks" target="_blank">Smooks is an amazing tool!</a> Have a look! I will post about shortly, stay tuned!</p>
<p>Here is some ideas done or in plan in the wise-core</p>
<ul>
<li>Much more unit tests. The core was really poor in this area. [DONE]</li>
<li>Calling WS using a custom object model, and delegating to wise-core the responsability of required mapping action [DONE]</li>
<li>Adding jaxws client handler(custom one and some ones implemented in the core, at least one smooks&#8217; based [DONE]</li>
<li>smooks based javabeans mapping from user object to wsconsume generated object [DONE]</li>
<li>write examples of use [partially DONE]</li>
<li>write good javadoc and user manual [TODO]</li>
<li>write integration and example of integration with jbossesb [DONE, not in repository]</li>
<li>generating Smooks config skeleton for generated object.  Without them who write the smooks config file for mappers have to know the classes hierarchy generated by wsconsume (IOW generate it statically first time to have a look <img src='http://www.javalinux.it/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) [TODO]</li>
<li>Use wise-core in wise-gui, using smooks mapper against our proprietary <a href="http://jax-wise.svn.sourceforge.net/viewvc/jax-wise/trunk/src/it/javalinux/wise/seam/entities/treeElement/" target="_blank">TreeElement</a> Object to map to generated classes [TODO, it needs next point]</li>
<li>Dynamic generation of smooks config knowing target Object hirearchy (our <a href="http://jax-wise.svn.sourceforge.net/viewvc/jax-wise/trunk/src/it/javalinux/wise/seam/entities/treeElement/" target="_blank">TreeElement)</a> and wsconsume&#8217;s generated objects. [TODO]</li>
<li>Evaluate different mapping tools (to be added to smooks, not to substitute it for sure!). Maybe <a href="http://dozer.sourceforge.net/" target="_blank">Dozer</a>, even if I suspect some problem with it for our goals. [TODO]</li>
</ul>
<p>In our svn you can find a <a href="http://jax-wise.svn.sourceforge.net/viewvc/jax-wise/branches/wise-core/test-src/it/javalinux/wise/core/integration/CoreIntegrationTest.java?revision=226&amp;view=markup" target="_blank">test</a> demostrating the use in a stand alone application.</p>
<p>any opinion?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javalinux.it/wordpress/2008/04/13/the-future-of-wise-and-lms/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

