<?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 BlazeDS Spring an Integration Story</title>
	<atom:link href="http://www.redredred.com.au/flex-blazeds-spring-an-integration-story/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redredred.com.au/flex-blazeds-spring-an-integration-story/</link>
	<description>redredred developers talk about what they are working on</description>
	<lastBuildDate>Sat, 24 Jul 2010 22:35:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: adam</title>
		<link>http://www.redredred.com.au/flex-blazeds-spring-an-integration-story/comment-page-1/#comment-77</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Fri, 04 Apr 2008 23:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.oneadam.net/?p=24#comment-77</guid>
		<description>Sorry Jon, I wasn&#039;t trying to say that the whole Blaze setup is trivial, just that wiring it into Spring once setup is. The link  in my post provides the source code for the SpringFactory and you just add the following to your services-config.xml:

&lt;blockquote&gt;
&lt;factories&gt;
   &lt;factory id=&quot;spring&quot; class=&quot;blaze.SpringFactory&quot; /&gt;
&lt;/factories&gt;
&lt;/blockquote&gt;
The above assumes that you copied the source code to a file called SpringFactory.java in a folder called blaze under your application&#039;s source folder. You can then add destinations to your remoting-config.xml file like the following, to reference your Spring bean services:
&lt;blockquote&gt;
   &lt;destination id=&quot;loginService&quot;&gt;
      &lt;properties&gt;
         &lt;factory&gt;spring&lt;/factory&gt;
         &lt;source&gt;loginManager&lt;/source&gt;
      &lt;/properties&gt;
   &lt;/destination&gt;
&lt;/blockquote&gt;
The above will expose a Spring bean with the id of loginManager as a remote object with the name loginService.</description>
		<content:encoded><![CDATA[<p>Sorry Jon, I wasn&#8217;t trying to say that the whole Blaze setup is trivial, just that wiring it into Spring once setup is. The link  in my post provides the source code for the SpringFactory and you just add the following to your services-config.xml:</p>
<blockquote><p>
&lt;factories&gt;<br />
   &lt;factory id=&#8221;spring&#8221; class=&#8221;blaze.SpringFactory&#8221; /&gt;<br />
&lt;/factories&gt;
</p></blockquote>
<p>The above assumes that you copied the source code to a file called SpringFactory.java in a folder called blaze under your application&#8217;s source folder. You can then add destinations to your remoting-config.xml file like the following, to reference your Spring bean services:</p>
<blockquote><p>
   &lt;destination id=&#8221;loginService&#8221;&gt;<br />
      &lt;properties&gt;<br />
         &lt;factory&gt;spring&lt;/factory&gt;<br />
         &lt;source>loginManager&lt;/source&gt;<br />
      &lt;/properties&gt;<br />
   &lt;/destination&gt;
</p></blockquote>
<p>The above will expose a Spring bean with the id of loginManager as a remote object with the name loginService.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.redredred.com.au/flex-blazeds-spring-an-integration-story/comment-page-1/#comment-76</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 03 Apr 2008 14:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.oneadam.net/?p=24#comment-76</guid>
		<description>Well, trivial is a tough thing to say!

Scenario - I&#039;m using Alfresco which has a huge API with a ton of spring beans that I could feasibly expose to BlazeDS. Unfortunately, for those of us that are not Java folks (more on the Flex end), doing so seems to be a daunting task.

I think everyone needs more actual examples on how to expose a theoretical, already-existing bean on a server to remoting. What if you don&#039;t have the actual Java classes for the beans? Do the beans automatically define the data types that are used for communication and BlazeDS can read those descriptors and use them?

I&#039;d love to try out BlazeDS but at the moment, it&#039;s pretty difficult to get going.</description>
		<content:encoded><![CDATA[<p>Well, trivial is a tough thing to say!</p>
<p>Scenario &#8211; I&#8217;m using Alfresco which has a huge API with a ton of spring beans that I could feasibly expose to BlazeDS. Unfortunately, for those of us that are not Java folks (more on the Flex end), doing so seems to be a daunting task.</p>
<p>I think everyone needs more actual examples on how to expose a theoretical, already-existing bean on a server to remoting. What if you don&#8217;t have the actual Java classes for the beans? Do the beans automatically define the data types that are used for communication and BlazeDS can read those descriptors and use them?</p>
<p>I&#8217;d love to try out BlazeDS but at the moment, it&#8217;s pretty difficult to get going.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
