<?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"
	>
<channel>
	<title>Comments on: Flex / AIR Serialization Lessons Learned</title>
	<atom:link href="http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/</link>
	<description>This is the blog of Brooks Andrus. Here, at irregular intervals, you may find digital noise centered around the activities of an early 21st century technologist. I work for TechSmith Corporation, but this web space and the views found on it are entirely my own.</description>
	<pubDate>Wed, 23 Jul 2008 21:20:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: AndyChou</title>
		<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-43657</link>
		<dc:creator>AndyChou</dc:creator>
		<pubDate>Fri, 18 Apr 2008 01:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-43657</guid>
		<description>Need 3 Flex engineers in New York City:
1. You have to be living in New York City for now. 
2. Work part time or full time with us.
3. Good at Adobe Flex technology.
4. Please contact us for other requirement and details.

Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients. 
For more info, please visit http://www.busycode.com</description>
		<content:encoded><![CDATA[<p>Need 3 Flex engineers in New York City:<br />
1. You have to be living in New York City for now.<br />
2. Work part time or full time with us.<br />
3. Good at Adobe Flex technology.<br />
4. Please contact us for other requirement and details.</p>
<p>Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients.<br />
For more info, please visit <a href="http://www.busycode.com" rel="nofollow">http://www.busycode.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-43024</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 04 Apr 2008 06:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-43024</guid>
		<description>Just use null defaults to get around constructor argument problems, we do this all the time.

public function AuthToken(token:String=null, perms:String=null, etc...){
}</description>
		<content:encoded><![CDATA[<p>Just use null defaults to get around constructor argument problems, we do this all the time.</p>
<p>public function AuthToken(token:String=null, perms:String=null, etc&#8230;){<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Bisotti</title>
		<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42455</link>
		<dc:creator>Jamie Bisotti</dc:creator>
		<pubDate>Fri, 28 Mar 2008 14:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42455</guid>
		<description>We are currently using Granite Data Services (GDS) instead of BlazeDS (we were using it before BlazeDS was open-sourced); it provides a bit more flexibility when it comes to serialization.  For example, it's Externalizer's provide an additional method, newInstance(...).  We override this instead of readExternal(...) which allows us to use immutable objects (i.e. no setters; no default no-arg constructor).  We haven' had any problems with it so far.

Might be worth a look.

Jamie</description>
		<content:encoded><![CDATA[<p>We are currently using Granite Data Services (GDS) instead of BlazeDS (we were using it before BlazeDS was open-sourced); it provides a bit more flexibility when it comes to serialization.  For example, it&#8217;s Externalizer&#8217;s provide an additional method, newInstance(&#8230;).  We override this instead of readExternal(&#8230;) which allows us to use immutable objects (i.e. no setters; no default no-arg constructor).  We haven&#8217; had any problems with it so far.</p>
<p>Might be worth a look.</p>
<p>Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Law</title>
		<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42400</link>
		<dc:creator>James Law</dc:creator>
		<pubDate>Thu, 27 Mar 2008 19:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42400</guid>
		<description>Thanks!
Using Blaze DS it seems to require on the JAVA side, that objects have public setter methods for properties. This doesn't make sense to me but it seems so...

JL</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
Using Blaze DS it seems to require on the JAVA side, that objects have public setter methods for properties. This doesn&#8217;t make sense to me but it seems so&#8230;</p>
<p>JL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Gregoire</title>
		<link>http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42266</link>
		<dc:creator>Paul Gregoire</dc:creator>
		<pubDate>Tue, 25 Mar 2008 15:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.brooksandrus.com/blog/2008/03/25/flex-air-serialization-lessons-learned/#comment-42266</guid>
		<description>Great article, I lost a lot of blood learning these things on my own :) but I would like to pass on another tidbit to add to your post. When your AS packages do not match your java classes you have to register the alias in addition to adding the meta data described above. The scenario is this:
AS3 class name: com.example.as.Widget
Java class name: com.example.java.Widget

Put this line somewhere in your startup class after importing your Widget

flash.net.registerClassAlias("com.example.java.Widget", Widget);

Everything should work from this point on, but as a best practice make sure your packages match!!</description>
		<content:encoded><![CDATA[<p>Great article, I lost a lot of blood learning these things on my own :) but I would like to pass on another tidbit to add to your post. When your AS packages do not match your java classes you have to register the alias in addition to adding the meta data described above. The scenario is this:<br />
AS3 class name: com.example.as.Widget<br />
Java class name: com.example.java.Widget</p>
<p>Put this line somewhere in your startup class after importing your Widget</p>
<p>flash.net.registerClassAlias(&#8221;com.example.java.Widget&#8221;, Widget);</p>
<p>Everything should work from this point on, but as a best practice make sure your packages match!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
