<?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: Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL Tutorial Part 2</title>
	<atom:link href="http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/</link>
	<description>When you're in need of an appsolution</description>
	<pubDate>Wed, 10 Mar 2010 22:53:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flex + Cairngorm + Spring ActionScript Part 5 Announcement &#124; Web App Solution Blog</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-383</link>
		<dc:creator>Flex + Cairngorm + Spring ActionScript Part 5 Announcement &#124; Web App Solution Blog</dc:creator>
		<pubDate>Wed, 06 Jan 2010 15:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-383</guid>
		<description>[...] Part 2: Flex + CG + SAS [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 2: Flex + CG + SAS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianr</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-238</link>
		<dc:creator>brianr</dc:creator>
		<pubDate>Wed, 19 Aug 2009 13:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-238</guid>
		<description>Ryan, you can check out &lt;a href="http://code.google.com/p/flexserverlib/" rel="nofollow"&gt;FlexServerLib&lt;/a&gt; for an impl on passing lazy collections from Hibernate to Flex: dpHibernate

http://code.google.com/p/flexserverlib/</description>
		<content:encoded><![CDATA[<p>Ryan, you can check out <a href="http://code.google.com/p/flexserverlib/" rel="nofollow">FlexServerLib</a> for an impl on passing lazy collections from Hibernate to Flex: dpHibernate</p>
<p><a href="http://code.google.com/p/flexserverlib/" rel="nofollow">http://code.google.com/p/flexserverlib/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL Tutorial Part 4 &#124; Web App Solution Blog</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-131</link>
		<dc:creator>Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL Tutorial Part 4 &#124; Web App Solution Blog</dc:creator>
		<pubDate>Mon, 29 Jun 2009 22:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-131</guid>
		<description>[...] Part 2: Flex + CG + SAS [...]</description>
		<content:encoded><![CDATA[<p>[...] Part 2: Flex + CG + SAS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianr</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-121</link>
		<dc:creator>brianr</dc:creator>
		<pubDate>Thu, 25 Jun 2009 17:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-121</guid>
		<description>To be honest, we haven't addressed that yet, but it's on my list of todos as I dive deeper into the tutorial. Sorry I don't have an immediate answer. Will make sure I circle back to this for ya.</description>
		<content:encoded><![CDATA[<p>To be honest, we haven&#8217;t addressed that yet, but it&#8217;s on my list of todos as I dive deeper into the tutorial. Sorry I don&#8217;t have an immediate answer. Will make sure I circle back to this for ya.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-115</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 23 Jun 2009 19:29:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-115</guid>
		<description>How would you recommend dealing with lazy loading when using Hibernate... it doesn't seem to be working nicely with BlazeDS/Flex... I have played around with dpHibernate but have not been successful in getting it to work.</description>
		<content:encoded><![CDATA[<p>How would you recommend dealing with lazy loading when using Hibernate&#8230; it doesn&#8217;t seem to be working nicely with BlazeDS/Flex&#8230; I have played around with dpHibernate but have not been successful in getting it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PamelaPemn</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-54</link>
		<dc:creator>PamelaPemn</dc:creator>
		<pubDate>Sat, 23 May 2009 19:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-54</guid>
		<description>I love it! That is way cool man! The steps weren’t that complicated too, which is great.</description>
		<content:encoded><![CDATA[<p>I love it! That is way cool man! The steps weren’t that complicated too, which is great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL Tutorial Part 3 &#124; Web App Solution Blog</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-39</link>
		<dc:creator>Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL Tutorial Part 3 &#124; Web App Solution Blog</dc:creator>
		<pubDate>Thu, 14 May 2009 14:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-39</guid>
		<description>[...] To that, I&#8217;m planing on writing a series of tutorials where each one builds on the previous one. Part 3 in our series will build on our working knowledge of Spring ActionScript framework (&#8221;SAS&#8221;) and use Dependency Injection (&#8221;DI&#8221;) to add the services to our Business Delegates (&#8221;BD&#8221;) from Part 2. [...]</description>
		<content:encoded><![CDATA[<p>[...] To that, I&#8217;m planing on writing a series of tutorials where each one builds on the previous one. Part 3 in our series will build on our working knowledge of Spring ActionScript framework (&#8221;SAS&#8221;) and use Dependency Injection (&#8221;DI&#8221;) to add the services to our Business Delegates (&#8221;BD&#8221;) from Part 2. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianr</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-38</link>
		<dc:creator>brianr</dc:creator>
		<pubDate>Thu, 14 May 2009 13:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-38</guid>
		<description>&lt;a href="#comment-36" rel="nofollow"&gt;@Valencia Developer&lt;/a&gt; I'd rather include the truncated source to keep the post from becoming even more monolithic than it already is and to highlight the lines of code that truly require the user's attention, rather than show the entire class...the general idea is to use the blog tut as a reference and to use the accompanying project source files as the real deal. 

But taking your point into consideration, I'll put a note about that in the overview section in the beginning of every post.

What line is missing from the employee_list.xml, as the xml entities were stripped out from your comment. You can email me here (&lt;a href="mailto:brianr@webappsolution.com" rel="nofollow"&gt;brianr@webappsolution.com&lt;/a&gt;) so I can fix it, or use the &lt;a href="http://www.dan.co.jp/cases/javascript/encode_entities.html" target="_blank" rel="nofollow"&gt;Entitiy Encoder&lt;/a&gt; (&lt;a href="http://www.dan.co.jp/cases/javascript/encode_entities.html" target="_blank" rel="nofollow"&gt;http://www.dan.co.jp/cases/javascript/encode_entities.html&lt;/a&gt;) to make sure they are shown correctly inside of &lt;pre&gt;&lt;code&gt;...&lt;/code&gt;&lt;/pre&gt; tags.</description>
		<content:encoded><![CDATA[<p><a href="#comment-36" rel="nofollow">@Valencia Developer</a> I&#8217;d rather include the truncated source to keep the post from becoming even more monolithic than it already is and to highlight the lines of code that truly require the user&#8217;s attention, rather than show the entire class&#8230;the general idea is to use the blog tut as a reference and to use the accompanying project source files as the real deal. </p>
<p>But taking your point into consideration, I&#8217;ll put a note about that in the overview section in the beginning of every post.</p>
<p>What line is missing from the employee_list.xml, as the xml entities were stripped out from your comment. You can email me here (<a href="mailto:brianr@webappsolution.com" rel="nofollow">brianr@webappsolution.com</a>) so I can fix it, or use the <a href="http://www.dan.co.jp/cases/javascript/encode_entities.html" target="_blank" rel="nofollow">Entitiy Encoder</a> (<a href="http://www.dan.co.jp/cases/javascript/encode_entities.html" target="_blank" rel="nofollow">http://www.dan.co.jp/cases/javascript/encode_entities.html</a>) to make sure they are shown correctly inside of &lt;pre&gt;&lt;code&gt;&#8230;&lt;/code&gt;&lt;/pre&gt; tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valencia Developer</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-37</link>
		<dc:creator>Valencia Developer</dc:creator>
		<pubDate>Thu, 14 May 2009 13:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-37</guid>
		<description>Hmm... my line got cut off by the HTML filter. But I guess with a quick look you know what it is anyway...</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; my line got cut off by the HTML filter. But I guess with a quick look you know what it is anyway&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valencia Developer</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-36</link>
		<dc:creator>Valencia Developer</dc:creator>
		<pubDate>Thu, 14 May 2009 13:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-36</guid>
		<description>The following line seems to be missing from near the top of employee_list.xml:


Generally your tute is very helpful, especially considering the scarcity of resources out there on SAS, but due to the truncated source samples in your page it's virtually impossible to follow without using your downloaded source. I feel like I've got more of a grasp if I can do it all myself with copy/paste from the website... but I guess that's personal preference.</description>
		<content:encoded><![CDATA[<p>The following line seems to be missing from near the top of employee_list.xml:</p>
<p>Generally your tute is very helpful, especially considering the scarcity of resources out there on SAS, but due to the truncated source samples in your page it&#8217;s virtually impossible to follow without using your downloaded source. I feel like I&#8217;ve got more of a grasp if I can do it all myself with copy/paste from the website&#8230; but I guess that&#8217;s personal preference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; KnowledgeSurf released Flash Java Rich Media Portal « Xi&#39;an &#8230; Another java Blog</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-33</link>
		<dc:creator>&#187; KnowledgeSurf released Flash Java Rich Media Portal « Xi&#39;an &#8230; Another java Blog</dc:creator>
		<pubDate>Wed, 13 May 2009 02:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-33</guid>
		<description>[...] Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-05-12 &#124; diamondTearz</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-32</link>
		<dc:creator>links for 2009-05-12 &#124; diamondTearz</dc:creator>
		<pubDate>Wed, 13 May 2009 00:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-32</guid>
		<description>[...] Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL T... o (tags: mysql spring tomcat weborb springactionscript) [...]</description>
		<content:encoded><![CDATA[<p>[...] Flex + Cairngorm + Spring ActionScript + Tomcat + WebORB/BlazeDS + Spring Java + Hibernate + MySQL T&#8230; o (tags: mysql spring tomcat weborb springactionscript) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diamondTearz</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-31</link>
		<dc:creator>diamondTearz</dc:creator>
		<pubDate>Tue, 12 May 2009 23:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-31</guid>
		<description>Thanks for posting this tutorial walking us through the integration.  I've lost too many hours trying to rip out mock data and trying to band-aid my code back together after a database was available.  I look forward to the productivity benefits of this approach.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this tutorial walking us through the integration.  I&#8217;ve lost too many hours trying to rip out mock data and trying to band-aid my code back together after a database was available.  I look forward to the productivity benefits of this approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianr</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-30</link>
		<dc:creator>brianr</dc:creator>
		<pubDate>Tue, 12 May 2009 14:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-30</guid>
		<description>&lt;a href="#comment-27" rel="nofollow"&gt;@Vineet Bhatia&lt;/a&gt; The DL was taken directly from Allen Manning's Blog, as I liked the idea as well. &lt;a href="http://www.allenmanning.com/?p=25" target="_blank" rel="nofollow"&gt;Dependency Injection in Flex Applications - Part 1 - Spring ActionScript and Cairngorm&lt;/a&gt; - Allen Manning

&lt;a href="#comment-29" rel="nofollow"&gt;@Derek&lt;/a&gt; The idea is that it allows both the server-side and client-side devs to start working concurrently once they've established a well-defined service API -- honestly, we'd never really create a AS Mock-Object ("ASMO") BD and a stubbed out XML BD, that was really for example purposes only. 

The real power is when you're using RemoteObjects ("RO") and you want to swap out your ASMO BDs with your real RO BDs and know that they're going to return the same object type to your CMD no matter what the service is. 

A key point to understand and establish is that our BDs are really the only place with server knowledge -- BDs should be the only class in our client that have intimate knowledge of the services/server, and therefore is the only place where data marshaling and/or de/serialization takes place so that our CMDs can just say, I always expect this type of object from my BD no matter what. We don't want a change in our end service provider to cascade through our app b/c we're changing from AS stubs to XML services to real RO services -- the end data model returned to the CMD should always be the same.

Now if the end service API changes b/c you need to modify your interface, then sure, you might have to chg the data in couple places in your client...but if not and you nail down an API in your design phase, then the only object that really knows about the different request and response types for your services is your BDs.

Another real powerful feature of SAS that I haven't introduced yet is the ability to inject the config properties for ROs and HTTPServices like the url, destination, enpoints, etc...that's the next post which I'll have up this wk. I think it'll all start to make a bit more sense once I add more to the tutorial.</description>
		<content:encoded><![CDATA[<p><a href="#comment-27" rel="nofollow">@Vineet Bhatia</a> The DL was taken directly from Allen Manning&#8217;s Blog, as I liked the idea as well. <a href="http://www.allenmanning.com/?p=25" target="_blank" rel="nofollow">Dependency Injection in Flex Applications - Part 1 - Spring ActionScript and Cairngorm</a> - Allen Manning</p>
<p><a href="#comment-29" rel="nofollow">@Derek</a> The idea is that it allows both the server-side and client-side devs to start working concurrently once they&#8217;ve established a well-defined service API &#8212; honestly, we&#8217;d never really create a AS Mock-Object (&#8221;ASMO&#8221;) BD and a stubbed out XML BD, that was really for example purposes only. </p>
<p>The real power is when you&#8217;re using RemoteObjects (&#8221;RO&#8221;) and you want to swap out your ASMO BDs with your real RO BDs and know that they&#8217;re going to return the same object type to your CMD no matter what the service is. </p>
<p>A key point to understand and establish is that our BDs are really the only place with server knowledge &#8212; BDs should be the only class in our client that have intimate knowledge of the services/server, and therefore is the only place where data marshaling and/or de/serialization takes place so that our CMDs can just say, I always expect this type of object from my BD no matter what. We don&#8217;t want a change in our end service provider to cascade through our app b/c we&#8217;re changing from AS stubs to XML services to real RO services &#8212; the end data model returned to the CMD should always be the same.</p>
<p>Now if the end service API changes b/c you need to modify your interface, then sure, you might have to chg the data in couple places in your client&#8230;but if not and you nail down an API in your design phase, then the only object that really knows about the different request and response types for your services is your BDs.</p>
<p>Another real powerful feature of SAS that I haven&#8217;t introduced yet is the ability to inject the config properties for ROs and HTTPServices like the url, destination, enpoints, etc&#8230;that&#8217;s the next post which I&#8217;ll have up this wk. I think it&#8217;ll all start to make a bit more sense once I add more to the tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek</title>
		<link>http://www.webappsolution.com/wordpress/2009/05/08/flex-spring-actionscript-cairngorm-tomact-blazeds-spring-hibernate-mysql-pt2/comment-page-1/#comment-29</link>
		<dc:creator>Derek</dc:creator>
		<pubDate>Mon, 11 May 2009 16:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webappsolution.com/wordpress/?p=100#comment-29</guid>
		<description>How often would you really go back and forth between delegates? In the case of services not being available and then being made available, I would expect to just update the delegate class with the new service rather than using a swappable framework to switch delegates since the mock object delegates could be discarded.</description>
		<content:encoded><![CDATA[<p>How often would you really go back and forth between delegates? In the case of services not being available and then being made available, I would expect to just update the delegate class with the new service rather than using a swappable framework to switch delegates since the mock object delegates could be discarded.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
