<?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: DZone Podcast about Adobe AIR, Flex, and Java</title>
	<atom:link href="http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/</link>
	<description>Rich Internet Applications &#124; Flex &#124; Adobe AIR &#124; Java &#124; Open Source &#124; Linux &#124; Enterprise Software &#124; Cloud</description>
	<lastBuildDate>Tue, 16 Mar 2010 21:17:11 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/comment-page-1/#comment-157550</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Mon, 06 Jul 2009 18:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.com/blog/?p=1000#comment-157550</guid>
		<description>Hi Joy,

I think that remoteable classes must have a no-arg constructor unless perhaps if you are using the Spring BlazeDS Integration.  In which case I think you can inject stuff in but that stuff still can&#039;t be passed in from the client.  You could consider setting your remoting destinations to use the session scope.  I hope that helps.

-James</description>
		<content:encoded><![CDATA[<p>Hi Joy,</p>
<p>I think that remoteable classes must have a no-arg constructor unless perhaps if you are using the Spring BlazeDS Integration.  In which case I think you can inject stuff in but that stuff still can&#8217;t be passed in from the client.  You could consider setting your remoting destinations to use the session scope.  I hope that helps.</p>
<p>-James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joy</title>
		<link>http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/comment-page-1/#comment-157549</link>
		<dc:creator>Joy</dc:creator>
		<pubDate>Mon, 06 Jul 2009 14:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.com/blog/?p=1000#comment-157549</guid>
		<description>James,
I have been palying with BlazeDs and Java for almost 3 months now, but one curious question popped up just now.
In remoting-config.xml we always declare destination of java class and it invokes this class having a default contructor.
What if i want to invoke a constructor with argument???
e.g public class MyClass {
               public MyClass() {} // Default constructor
               public MyClass(String myArg){
                     attr = myArg ;
               }
What if i want to pass this &quot;myArg&quot; from Flex? What is the better way to handle this?
Will appreciate your response on this.</description>
		<content:encoded><![CDATA[<p>James,<br />
I have been palying with BlazeDs and Java for almost 3 months now, but one curious question popped up just now.<br />
In remoting-config.xml we always declare destination of java class and it invokes this class having a default contructor.<br />
What if i want to invoke a constructor with argument???<br />
e.g public class MyClass {<br />
               public MyClass() {} // Default constructor<br />
               public MyClass(String myArg){<br />
                     attr = myArg ;<br />
               }<br />
What if i want to pass this &#8220;myArg&#8221; from Flex? What is the better way to handle this?<br />
Will appreciate your response on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/comment-page-1/#comment-157448</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Thu, 11 Jun 2009 18:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.com/blog/?p=1000#comment-157448</guid>
		<description>Hi Amar,

Make sure that when setting up the project you specify the information for the J2EE server.

-James</description>
		<content:encoded><![CDATA[<p>Hi Amar,</p>
<p>Make sure that when setting up the project you specify the information for the J2EE server.</p>
<p>-James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amar</title>
		<link>http://www.jamesward.com/2009/04/30/dzone-podcast-about-adobe-air-flex-and-java/comment-page-1/#comment-157446</link>
		<dc:creator>amar</dc:creator>
		<pubDate>Thu, 11 Jun 2009 06:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.com/blog/?p=1000#comment-157446</guid>
		<description>i tried your refcard at DZONE &quot;first steps in flex&quot; and the small apps UsingHTTPService and testChat didn&#039;t work . The GUI worked but didn&#039;t function. Gave a lots of errors:
When tried to run testChat, it opened in browser but before the error came like this (even later, typed message didn&#039;t show in the text area abobe&quot;:
[MessagingError message=&#039;Destination &#039;chat&#039; either does not exist or the destination has no channels defined (and the application does not define any default channels.)&#039;]
	at mx.messaging.config::ServerConfig$/internalGetChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:624]
	at mx.messaging.config::ServerConfig$/getChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:255]
	at mx.messaging::MessageAgent/initChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1083]
	at mx.messaging::MessageAgent/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1059]
	at mx.messaging::Consumer/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\Consumer.as:224]
	at mx.messaging::AbstractConsumer/subscribe()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\AbstractConsumer.as:624]
	at testChat/___testChat_Application1_creationComplete()[C:\Documents and Settings\Amarendra Kumar\My Documents\Flex Builder 3\testChat\src\testChat.mxml:3]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]</description>
		<content:encoded><![CDATA[<p>i tried your refcard at DZONE &#8220;first steps in flex&#8221; and the small apps UsingHTTPService and testChat didn&#8217;t work . The GUI worked but didn&#8217;t function. Gave a lots of errors:<br />
When tried to run testChat, it opened in browser but before the error came like this (even later, typed message didn&#8217;t show in the text area abobe&#8221;:<br />
[MessagingError message='Destination 'chat' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']<br />
	at mx.messaging.config::ServerConfig$/internalGetChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:624]<br />
	at mx.messaging.config::ServerConfig$/getChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:255]<br />
	at mx.messaging::MessageAgent/initChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1083]<br />
	at mx.messaging::MessageAgent/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageAgent.as:1059]<br />
	at mx.messaging::Consumer/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\Consumer.as:224]<br />
	at mx.messaging::AbstractConsumer/subscribe()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\AbstractConsumer.as:624]<br />
	at testChat/___testChat_Application1_creationComplete()[C:\Documents and Settings\Amarendra Kumar\My Documents\Flex Builder 3\testChat\src\testChat.mxml:3]<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
