<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sujit Reddy G - The Evangelist</title>
	<atom:link href="http://sujitreddyg.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sujitreddyg.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jan 2012 07:46:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sujitreddyg.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/84bcee6cc79ba3906fce7ff6acf18017?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Sujit Reddy G - The Evangelist</title>
		<link>http://sujitreddyg.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sujitreddyg.wordpress.com/osd.xml" title="Sujit Reddy G - The Evangelist" />
	<atom:link rel='hub' href='http://sujitreddyg.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Adobe Flash Platform Summit 2010 &#8211; Bangalore, India</title>
		<link>http://sujitreddyg.wordpress.com/2010/06/10/adobe-flash-platform-summit-2010-bangalore-india/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/06/10/adobe-flash-platform-summit-2010-bangalore-india/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 10:17:49 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[adobe dev summit]]></category>
		<category><![CDATA[adobe devsummit]]></category>
		<category><![CDATA[flash platform summit]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1420</guid>
		<description><![CDATA[Adobe DevSummit is now morphed into Adobe Flash Platform Summit (Functional Intent Meets Pixel Perfection). Its going to be TWO full days of conference and networking with leading designers and developers. We will have over 40 sessions presented by thought leaders and experts from Adobe and Adobe developer community. If you are interested in speaking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1420&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Adobe DevSummit is now morphed into <a href="http://bit.ly/adobesummit" target="_blank">Adobe Flash Platform Summit</a> (Functional Intent Meets Pixel Perfection). Its going to be <strong>TWO</strong> full days of conference and networking with leading designers and developers. We will have over <strong>40 sessions</strong> presented by thought leaders and experts from Adobe and Adobe developer community.</p>
<p>If you are interested in speaking at this summit or attending this summit, please find the details below.</p>
<p><a href="http://bit.ly/adobesummit"><img class="aligncenter size-full wp-image-1421" title="afps2" src="http://sujitreddyg.files.wordpress.com/2010/06/afps2.jpg?w=450&#038;h=261" alt="" width="450" height="261" /></a></p>
<p><strong>What&#8217;s in it for you?</strong></p>
<ul>
<li>Learn about Adobe Flash Platform technologies</li>
<li>Get to know the latest innovations in Adobe Flash Platform</li>
<li>Learn how to develop/design Rich Internet Applications</li>
<li>Learn how to develop/design applications targeting multiple screens or devices</li>
<li>Learn how to develop/design good user interfaces</li>
<li>See how Flash Platform technologies are being used</li>
<li>Network with some of the best developers</li>
<li>and more <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p><strong>Useful Links</strong></p>
<p>Find more details about the summit here &#8211; <a href="http://bit.ly/adobesummit" target="_blank">http://bit.ly/adobesummit</a></p>
<p>Interested in speaking at this summit? Submit your session proposal &#8211; <a href="http://bit.ly/adobesummit_cfp" target="_blank">http://bit.ly/adobesummit_cfp</a></p>
<p>Register before 25th June and get early bird discount &#8211; <a href="http://bit.ly/adobesummit_register" target="_blank">http://bit.ly/adobesummit_register</a></p>
<p>Follow Flash Platform Summit on twitter &#8211; <a href="http://twitter.com/adobesummit" target="_blank">http://twitter.com/adobesummit</a></p>
<p>If you tweet about the summit use <strong>#AdobeSummit</strong> hash tag</p>
<p>Flash Platform Summit on Facebook &#8211; <a href="http://bit.ly/adobesummit_fb" target="_blank">http://bit.ly/adobesummit_fb</a></p>
<p>Meet you all at the summit <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1420/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1420&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/06/10/adobe-flash-platform-summit-2010-bangalore-india/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/afps2.jpg" medium="image">
			<media:title type="html">afps2</media:title>
		</media:content>
	</item>
		<item>
		<title>Tutorial on Integrating Flex with Struts based application using Remoting</title>
		<link>http://sujitreddyg.wordpress.com/2010/06/09/tutorial-on-integrating-flex-with-struts-based-application-using-remoting/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/06/09/tutorial-on-integrating-flex-with-struts-based-application-using-remoting/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 03:55:06 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex and BlazeDS]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[adding flex to struts]]></category>
		<category><![CDATA[flex and struts]]></category>
		<category><![CDATA[flex struts and blazeds]]></category>
		<category><![CDATA[integrating flex with struts]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1389</guid>
		<description><![CDATA[This article explains how to add Adobe Flex front end to Java + Struts web application. In this article we will be using BlazeDS Remoting service to communicate with the server from Flex application. Sample application in this article uses Flex 4, Struts 2.1.8 and BlazeDS 4. First lets have a look at Java + [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1389&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to add <a href="http://www.adobe.com/products/flex" target="_blank">Adobe Flex</a> front end to Java + <a href="http://struts.apache.org/" target="_blank">Struts</a> web application. In this article we will be using <a href="http://opensource.adobe.com/wiki/display/blazeds/Features" target="_blank">BlazeDS</a> Remoting service to communicate with the server from Flex application. Sample application in this article uses Flex 4, Struts 2.1.8 and BlazeDS 4. First lets have a look at Java + Struts web application which uses HTML to display the data.</p>
<p><strong>HTML + Struts + Java web application </strong></p>
<p>I have a web application called <em>flexstrutssample</em> created in which I have the following files.</p>
<p>Contents of <em>flexstrutssample</em> folder:</p>
<p>- WEB-INF/Classes</p>
<ul>
<li>action/<a href="http://sujitreddyg.com/fb4articles/flexandstruts/CustomerAction.java.txt" target="_blank">CustomerAction.class</a></li>
<li>com/adobe/services/<a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomerService.java.txt" target="_blank">SimpleCustomerService.class</a></li>
<li>com/adobe/objects/<a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomer.java.txt" target="_blank">SimpleCustomer.class</a></li>
<li><a href="http://sujitreddyg.com/fb4articles/flexandstruts/struts.xml.txt" target="_blank">struts.xml</a></li>
</ul>
<p>- WEB-INF/lib</p>
<ul>
<li>Struts jar files</li>
</ul>
<p>- WEB-INF/<a href="http://sujitreddyg.com/fb4articles/flexandstruts/web.xml.txt" target="_blank">web.xml</a></p>
<p>- <a href="http://sujitreddyg.com/fb4articles/flexandstruts/list.jsp.txt" target="_blank">list.jsp</a></p>
<p>- <a href="http://sujitreddyg.com/fb4articles/flexandstruts/listasxml.jsp.txt" target="_blank">listasxml.jsp</a></p>
<p>The <a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomerService.java.txt" target="_blank">SimpleCustomerService</a> class has methods to communicate with Database and perform CRUD operations on the Customer table. In this article we will use the <em>getAllCustomers()</em> method in <em>SimpleCustomerService</em> class, which returns all the <a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomer.java.txt" target="_blank">SimpleCustomer</a> entries in the database.</p>
<p>Signature of getAllCustomers():</p>
<pre><em> </em>
<em> public ArrayList&lt;SimpleCustomer&gt; getAllCustomers(){</em>
<em> //return all customers from the database</em>
<em> }</em></pre>
<p>The <a href="http://sujitreddyg.com/fb4articles/flexandstruts/CustomerAction.java.txt" target="_blank">CustomerAction</a> class extends from <em>ActionSupport</em> class. <em>CustomerAction</em> class invokes the <em>getAllCustomers()</em> method in <em>SimpleCustomerService</em> class and returns <em>Action.SUCCESS</em>.</p>
<p>The <em>execute()</em> method in CustomerAction class:</p>
<pre><em> </em>
<em>public String execute() {</em>
<em> SimpleCustomerService service = new SimpleCustomerService();</em>
<em> this.customers = service.getAllCustomers();</em>
<em> return Action.SUCCESS;</em>
<em> }</em></pre>
<p>In Struts configuration file (<a href="http://sujitreddyg.com/fb4articles/flexandstruts/struts.xml.txt" target="_blank">struts.xml</a>) we have the result “success” mapped to <em>list.jsp </em>for the action with <em>name=”list”.</em></p>
<pre><em> </em>
<em>&lt;action method="execute"&gt;</em>
<em> &lt;result&gt;/list.jsp&lt;/result&gt;</em>
<em> &lt;/action&gt;</em></pre>
<p>The <a href="http://sujitreddyg.com/fb4articles/flexandstruts/list.jsp.txt" target="_blank">list.jsp</a> file accesses the list of customers from the <em>simpleCustomers</em> variable and renders the same in a HTML table as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/1.png" target="_blank"><img class="aligncenter size-medium wp-image-1363" title="1" src="http://sujitreddyg.files.wordpress.com/2010/06/1.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p><strong>Adding Flex front end</strong></p>
<p>We have a simple web application that fetches records from database and displays the records in a HTML table. If you are using Rich Internet Applications (RIA) framework like Flex as front end for your applications, you can use rich and interactive controls like <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/DataGrid.html" target="_blank">DataGrid</a>.</p>
<p>If you observe <em>list.jsp</em> is returning HTML, so that browser will render the data in a table. Since we will be using Adobe Flex framework to create the user interface for the application, we don’t have to return HTML from the server; All we need to return from the server is the data that needs to be displayed to the user.</p>
<p>The data sent from the server can be in one of the text-based formats like XML or JSON, in that case you have to create a JSP/Servlet which will return the data in the text-based format chosen and the data has to be parsed on the client side as explained in this article <a href="../../../../../2010/06/07/tutorial-on-integrating-flex-with-struts-based-application-using-http-service/" target="_blank">Tutorial on Integrating Flex with Struts based application using HTTP Service</a></p>
<p>Alternatively you can chose to use <a href="http://opensource.adobe.com/wiki/display/blazeds/Features" target="_blank">Flex Remoting</a>. Using Flex Remoting you can invoke methods in native Java classes on the server and the data is transferred in <a href="http://en.wikipedia.org/wiki/Action_Message_Format" target="_blank">AMF format</a>. If you use Flex Remoting, you don’t have to create an additional JSP/Servlet to represent the data in text-based format.</p>
<p>For using Flex Remoting you need libraries like BlazeDS on the server, so lets deploy BlazeDS jar files and expose the <em>SimpleCustomerService</em> class as Remoting service.</p>
<p><strong>Deploying BlazeDS jar files</strong></p>
<p><strong>Step 1:</strong></p>
<p>Download release build of BlazeDS. BlazeDS release builds are available at this URL <a href="http://opensource.adobe.com/wiki/display/blazeds/Release+Builds" target="_blank">http://opensource.adobe.com/wiki/display/blazeds/Release+Builds</a> Click on “Download the BlazeDS binary distribution” to download the binary distribution. Binary distribution has just jar files and other configuration files required.</p>
<p><strong> </strong></p>
<p><strong>Step 2:</strong></p>
<p>Go to folder where you saved the downloaded file in Step 1. You would have downloaded a file named <em>blazeds-bin-4.0.0.14931.zip</em>. Extract the content in this file to a folder named <em>blazeds-bin-4.0.0.14931</em></p>
<p><strong> </strong></p>
<p><strong>Step 3:</strong></p>
<p>In the <em>blazeds-bin-4.0.0.14931 </em>folder you will find a file named <em>blazeds.war</em> and <em>blazeds-bin-readme.htm</em>. <em>blazeds-bin-readme.htm </em>contains<em> </em>terms and conditions and license details. <em>blazeds.war</em> contains required jar files and configuration files for setting up BlazeDS.</p>
<p>Extract the content in <em>blazeds.war</em> file into a folder called blazeds. You can try renaming the file to blazeds.zip and extract the contents using tools like winzip.</p>
<p><strong> </strong></p>
<p><em>blazeds</em> – this is the folder in which we have blazeds.war content extracted into  in Step 3</p>
<p><em>flexstrutssample</em> – this is the web application folder with Java + Struts based application</p>
<p><strong> </strong></p>
<p><strong>Step 4:</strong></p>
<p>Copy all .jar files from <em>blazeds/WEB-INF/lib</em> to <em>flesstrutssample/WEB-INF/lib</em></p>
<p><strong> </strong></p>
<p><strong>Step 5:</strong></p>
<p>Copy <em>blazeds/WEB-INF/flex</em> folder to <em>flexstrutssample/WEB-INF</em></p>
<p>This folder (<em>blazeds/WEB-INF/flex</em>) contains BlazeDS configuration files. Use these files to configure Remoting/Messaging/Proxy services.</p>
<p><strong> </strong></p>
<p><strong>Step 6:</strong></p>
<p>Now we will add Servlet mapping for BlazeDS Servlet named <em>MessageBrokerServlet</em>, so that BlazeDS is invoked when you send request for a Remoting/Messaging/Proxy destination using any of the channels supported.</p>
<p>Open flexstrutssample/WEB-INF/web.xml and copy the Servlet mapping for MessageBrokerServlet and the session listener. You can either copy the content below or copy it from the <em>blazeds/WEB-INF/web.xml</em></p>
<p>You can view the web.xml used in this sample here &#8211; <a href="http://sujitreddyg.com/fb4articles/flexandstruts/web.xml.txt" target="_blank">http://sujitreddyg.com/fb4articles/flexandstruts/web.xml.txt</a></p>
<pre>&lt;!-- Http Flex Session attribute and binding listener support --&gt;
&lt;listener&gt;
&lt;listener-class&gt;flex.messaging.HttpFlexSession&lt;/listener-class&gt;
&lt;/listener&gt;

&lt;!-- MessageBroker Servlet --&gt;
&lt;servlet&gt;
&lt;servlet-name&gt;MessageBrokerServlet&lt;/servlet-name&gt;
&lt;display-name&gt;MessageBrokerServlet&lt;/display-name&gt;
&lt;servlet-class&gt;flex.messaging.MessageBrokerServlet&lt;/servlet-class&gt;
&lt;init-param&gt;
&lt;param-name&gt;services.configuration.file&lt;/param-name&gt;
&lt;param-value&gt;/WEB-INF/flex/services-config.xml&lt;/param-value&gt;
&lt;/init-param&gt;
&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
&lt;/servlet&gt;

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;MessageBrokerServlet&lt;/servlet-name&gt;
&lt;url-pattern&gt;/messagebroker/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;</pre>
<p><strong>Setting up BlazeDS RDSDispatchServlet</strong></p>
<p>After setting up BlazeDS, you have to enable <em>RDSDisptachServlet</em>, which is used by Flash Builder 4 to get destination details. Copy the Servlet URL mapping and declaration below and add to your web application <em>web.xml</em> file.</p>
<pre><em>&lt;servlet&gt;</em><em>
 <em>&lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em>
 <em>&lt;display-name&gt;RDSDispatchServlet&lt;/display-name&gt;</em>
 <em>&lt;servlet-class&gt;flex.rds.server.servlet.FrontEndServlet&lt;/servlet-class&gt;</em>
 <em>&lt;init-param&gt;</em>
 <em>&lt;param-name&gt;useAppserverSecurity&lt;/param-name&gt;</em>
 <em>&lt;param-value&gt;false&lt;/param-value&gt;</em>
 <em>&lt;/init-param&gt;</em>
 <em>&lt;load-on-startup&gt;10&lt;/load-on-startup&gt;</em>
 <em>&lt;/servlet&gt;</em>
 <em>&lt;servlet-mapping id="RDS_DISPATCH_MAPPING"&gt;</em>
 <em>&lt;servlet-name&gt;RDSDispatchServlet&lt;/servlet-name&gt;</em>
 <em>&lt;url-pattern&gt;/CFIDE/main/ide.cfm&lt;/url-pattern&gt;</em>
 <em>&lt;/servlet-mapping&gt;</em></em></pre>
<p><strong>Creating Remoting Service</strong></p>
<p>To invoke public methods in a Java class from Flex application, you need expose the Java class as Remoting service destination. Remoting service destinations are configured in a XML file named <em>remoting-config.xml</em>, which can found in <em>flexstrutssample/WEB-INF/flex </em>folder. Add the highlighted text below to the <em>remoting-config.xml</em> file.</p>
<pre><em>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</em>
<em>&lt;service</em><em> class="flex.messaging.services.RemotingService"&gt;</em>
<em>    &lt;adapters&gt;</em>
<em>        &lt;adapter-definition default="true"/&gt;</em>
<em>    &lt;/adapters&gt;</em>
<em>    &lt;default-channels&gt;</em>
<em>        &lt;channel ref="my-amf"/&gt;</em>
<em>    &lt;/default-channels&gt;</em>
<strong><em>&lt;destination&gt;</em></strong>
<strong><em>  &lt;properties&gt;</em></strong>
<strong><em>    &lt;source&gt;com.adobe.services.SimpleCustomerService&lt;/source&gt;</em></strong>
<strong><em>  &lt;/properties&gt;</em></strong>
<strong><em>&lt;/destination&gt;</em></strong>
<em>&lt;/service&gt;</em></pre>
<p>We created a Remoting destination whose id is <em>CustomerService</em>, which is mapped to <em>SimpleCustomerService </em>class. In the steps below we will see how to invoke methods in <em>SimpleCustomerService</em> class from Flex application, rather we will see how to consume Remoting services from Flex applications.</p>
<p><strong> </strong></p>
<p><strong>Creating Flex Application</strong></p>
<p>Install Flash Builder 4 from here – <a href="http://www.adobe.com/products/flashbuilder/" target="_blank">http://www.adobe.com/products/flashbuilder/</a></p>
<p>Launch Flash Builder and create new Flex project from File -&gt; New -&gt; Flex Project menu. You will see a window as shown in the image below. Enter the project details as explained below the image</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/21.png" target="_blank"><img class="aligncenter size-medium wp-image-1392" title="2" src="http://sujitreddyg.files.wordpress.com/2010/06/21.png?w=273&#038;h=300" alt="" width="273" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Enter project name</li>
<li>Set “Web (runs in Adobe      Flash Player)” as the application type</li>
<li>Use default Flex SDK (Flex      4.0)</li>
<li>Set the application server      type to J2EE</li>
<li>Select BlazeDS</li>
<li>Click on Next to continue</li>
</ol>
<p><strong> </strong></p>
<p><strong>Configure J2EE server settings</strong></p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/31.png" target="_blank"><img class="aligncenter size-medium wp-image-1393" title="3" src="http://sujitreddyg.files.wordpress.com/2010/06/31.png?w=281&#038;h=300" alt="" width="281" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Set the <em>Root folder</em> to the root folder of your web application with      BlazeDS configured. Its <em>/tomcatworkspace/flexstrutssample</em> in this sample</li>
<li>Set the <em>Root URL</em> to root URL of your BlazeDS enabled web application.      Its http://localhost:8080/flexstrutssample in this sample.</li>
<li>Set the <em>Context root</em> to context root of your BlazeDS enabled web      application. Its <em>/flexstrutssample</em> in this sample.</li>
<li>Leave the output folder to      default value</li>
<li>Click on validate      configuration button to check if the values are properly configured. You should see a message at the top saying web root folder and root URL are valid.</li>
<li>Click finish to continue</li>
</ol>
<p>Flash Builder will create a new project along with a default application file called <em>FlexStrutsRemotinSample.mxml</em>. Flex framework has a class called <em>RemotObject </em>using which you can consume Remoting services i.e invoke methods in Java class on the server.</p>
<p>You can manually write code to send the request or alternatively act smart and use the Data Centric Development (DCD) feature in Flash Builder <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Flash Builder can generate the code to send request to the server to get the data, lets see how.</p>
<p><strong> </strong></p>
<p><strong>Creating Service using DCD</strong></p>
<p><strong> </strong></p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/41.png" target="_blank"><img class="aligncenter size-medium wp-image-1394" title="4" src="http://sujitreddyg.files.wordpress.com/2010/06/41.png?w=300&#038;h=292" alt="" width="300" height="292" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select      the Data/Services window shown in the image above. If this is not visible,      select it from Window -&gt; Data/Services</li>
<li>Click      on “Connect to Data/Service” (Highlighted in the image above) in the      Data/Services window</li>
<li>Window      as shown in the image below will be launched</li>
</ol>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/51.png" target="_blank"><img class="aligncenter size-medium wp-image-1396" title="5" src="http://sujitreddyg.files.wordpress.com/2010/06/51.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>Select BlazeDS and click on Next. Flash Builder will display a window asking for RDS credentials. Since we turned off security for our <em>RDSServlet</em> by setting the <em>useAppserverSecurity</em> parameter to <em>false</em> in the <em>web.xml</em>, select <em>No password required</em> and click on OK to continue.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/61.png" target="_blank"><img class="aligncenter size-medium wp-image-1397" title="6" src="http://sujitreddyg.files.wordpress.com/2010/06/61.png?w=300&#038;h=165" alt="" width="300" height="165" /></a></p>
<p><strong>Selecting Remoting destination</strong></p>
<p>You can see that Flash Builder listed all destinations exposed in the screen below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/71.png" target="_blank"><img class="aligncenter size-medium wp-image-1401" title="7" src="http://sujitreddyg.files.wordpress.com/2010/06/71.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>In this screen we are selecting the destination the newly created service should use. All destinations available will be displayed. Select a destination (CustomerService in this sample) and click on Finish to continue.</p>
<p>Code for invoking the Remoting service will be generated, you can see the service and its operations (methods exposed by the Java class) being displayed in the <em>Data/Services</em> window and the source code for the same in the package explorer.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/81.png" target="_blank"><img class="aligncenter size-medium wp-image-1402" title="8" src="http://sujitreddyg.files.wordpress.com/2010/06/81.png?w=300&#038;h=71" alt="" width="300" height="71" /></a></p>
<p>Flash Builder 4 introspects return types for the Java class methods and creates AS3 classes for any custom Java classes.</p>
<p><strong>Binding data/service to UI controls</strong></p>
<p>Switch to design view and drag and drop a DataGrid component as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/91.png" target="_blank"><img class="aligncenter size-medium wp-image-1403" title="9" src="http://sujitreddyg.files.wordpress.com/2010/06/91.png?w=300&#038;h=159" alt="" width="300" height="159" /></a></p>
<p>In this screen:</p>
<ol>
<li>Switch      to design view</li>
<li>Change      the Application layout to <em>spark.layouts.VerticalLayout</em> using the properties panel</li>
<li>Drag      and drop a <em>DataGrid</em> from the      components panel on to the design area</li>
<li>Set the      <em>width </em>and <em>height </em>properties of the <em>DataGrid</em> to 100%</li>
<li>Select the DataGrid. Right click      on the DataGrid and select “Bind to Data …”</li>
</ol>
<p>A window as shown in the image below will be launched.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/101.png" target="_blank"><img class="aligncenter size-medium wp-image-1404" title="10" src="http://sujitreddyg.files.wordpress.com/2010/06/101.png?w=300&#038;h=257" alt="" width="300" height="257" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select <em>New service call</em> because there are      no existing services in the current application.</li>
<li>Select CustomerService      from Service list.</li>
<li>Select <em>getAllCustomers():SimpleCustomer[]</em> from operations list</li>
<li>Selct <em>SimpleCustomer[]</em> as Data provider</li>
<li>Click      OK</li>
</ol>
<p>You can see the DataGrid with columns added for each property of the SimpleCustomer class in the design view as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/111.png" target="_blank"><img class="aligncenter size-medium wp-image-1405" title="11" src="http://sujitreddyg.files.wordpress.com/2010/06/111.png?w=300&#038;h=183" alt="" width="300" height="183" /></a></p>
<p>Save and run the application. You can see application with data retrieved from the server and displayed in the DataGrid as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/122.png" target="_blank"><img class="aligncenter size-medium wp-image-1406" title="12" src="http://sujitreddyg.files.wordpress.com/2010/06/122.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p>We had a Java + Struts based web application for which we added a Flex front end in few minutes, without making any modifications to server side code <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can find more articles on integrating Flex with various server technologies at this URL <a href="../../../../../flash-builder-4" target="_blank">http://sujitreddyg.wordpress.com/flash-builder-4</a></p>
<p>It’s your application, make it Richer <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1389&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/06/09/tutorial-on-integrating-flex-with-struts-based-application-using-remoting/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/1.png?w=300" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/21.png?w=273" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/31.png?w=281" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/41.png?w=300" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/51.png?w=272" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/61.png?w=300" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/71.png?w=272" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/81.png?w=300" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/91.png?w=300" medium="image">
			<media:title type="html">9</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/101.png?w=300" medium="image">
			<media:title type="html">10</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/111.png?w=300" medium="image">
			<media:title type="html">11</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/122.png?w=300" medium="image">
			<media:title type="html">12</media:title>
		</media:content>
	</item>
		<item>
		<title>Tutorial on Integrating Flex with Struts based application using HTTP Service</title>
		<link>http://sujitreddyg.wordpress.com/2010/06/07/tutorial-on-integrating-flex-with-struts-based-application-using-http-service/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/06/07/tutorial-on-integrating-flex-with-struts-based-application-using-http-service/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:17:06 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[adding flex front end to struts]]></category>
		<category><![CDATA[flex and struts]]></category>
		<category><![CDATA[integrating flex with struts]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1358</guid>
		<description><![CDATA[This article explains how to add Adobe Flex front end to Java + Struts web application. In this article we will be using HTTP Service to communicate with the server from Flex application. Note: You can also try a better way to integrate Flex with Struts based application using Remoting as explained in the article [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1358&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to add <a href="http://www.adobe.com/products/flex" target="_blank">Adobe Flex</a> front end to Java + <a href="http://struts.apache.org/" target="_blank">Struts</a> web application. In this article we will be using HTTP Service to communicate with the server from Flex application.</p>
<p><strong>Note:</strong> You can also try a better way to integrate Flex with Struts based application using Remoting as explained in the article at this URL &#8211; <a href="http://sujitreddyg.wordpress.com/2010/06/09/tutorial-on-integrating-flex-with-struts-based-application-using-remoting/" target="_blank">Tutorial on Integrating Flex with Struts based application using Remoting</a></p>
<p>Sample in this article uses Flex 4 and Struts 2.1.8. First lets have a look at Java + Struts web application which uses HTML to display the data.</p>
<p><strong>HTML + Struts + Java web application </strong></p>
<p>I have a class called <a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomerService.java.txt" target="_blank">SimpleCustomerService</a>, which has methods to communicate with Database and perform CRUD operations on the Customer table. In this article we will use the <em>getAllCustomers()</em> method in <em>SimpleCustomerService</em> class, which returns all the <a href="http://sujitreddyg.com/fb4articles/flexandstruts/SimpleCustomer.java.txt" target="_blank">Customer</a> entries in the database.</p>
<p>Signature of getAllCustomers():</p>
<pre style="padding-left:30px;"><em> public ArrayList&lt;SimpleCustomer&gt; getAllCustomers(){</em></pre>
<pre style="padding-left:30px;"><em> //return all customers from the database</em></pre>
<pre style="padding-left:30px;"><em> }</em></pre>
<p>I also have <a href="http://sujitreddyg.com/fb4articles/flexandstruts/CustomerAction.java.txt" target="_blank">CustomerAction</a> class that extends from <em>ActionSupport</em> class. <em>CustomerAction</em> class invokes the <em>getAllCustomers()</em> method in <em>SimpleCustomerService</em> class and returns <em>Action.SUCCESS</em>.</p>
<p>The <em>execute()</em> method in CustomerAction class:</p>
<pre style="padding-left:30px;"><em>public String execute() {</em></pre>
<pre style="padding-left:30px;"><em> SimpleCustomerService service = new SimpleCustomerService();</em></pre>
<pre style="padding-left:30px;"><em> this.customers = service.getAllCustomers();</em></pre>
<pre style="padding-left:30px;"><em> return Action.SUCCESS;</em></pre>
<pre style="padding-left:30px;"><em> }</em></pre>
<p>In the Struts configuration file (<a href="http://sujitreddyg.com/fb4articles/flexandstruts/struts.xml.txt" target="_blank">struts.xml</a>) we have the result “success” mapped to <em>list.jsp </em>for the action with <em>name=”list”.</em></p>
<pre style="padding-left:30px;"><em>&lt;action name="list" method="execute" class="action.CustomerAction"&gt;</em></pre>
<pre style="padding-left:30px;"><em> &lt;result&gt;/list.jsp&lt;/result&gt;</em></pre>
<pre style="padding-left:30px;"><em> &lt;/action&gt;</em></pre>
<p>The <a href="http://sujitreddyg.com/fb4articles/flexandstruts/list.jsp.txt" target="_blank">list.jsp</a> file accesses the list of customers from the <em>simpleCustomers</em> variable and renders the same in a HTML table as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/1.png" target="_blank"><img class="aligncenter size-medium wp-image-1363" title="1" src="http://sujitreddyg.files.wordpress.com/2010/06/1.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p><strong>Adding Flex front end</strong></p>
<p>We have a simple web application that fetches records from database and displays the records in a HTML table. If you are using Rich Internet Applications (RIA) framework like Flex as front end for your applications, you can use rich and interactive controls like <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/DataGrid.html" target="_blank">DataGrid</a>.</p>
<p>If you observe <em>list.jsp</em> is returning HTML, so that browser will render the data in a table. Since we will be using Adobe Flex framework to create the user interface for the application, we don’t have to return HTML from the server. All we need to return from the server is the data that has to be displayed; this data can be represented in any format like XML or JSON.</p>
<p>Lets change the Struts configuration file to add another action node whose “success” is mapped to a different JSP page, which returns XML data instead of HTML. The <a href="http://sujitreddyg.com/fb4articles/flexandstruts/listasxml.jsp.txt" target="_blank">listasxml.jsp</a> returns the list of customers as XML.</p>
<pre style="padding-left:30px;"><em>&lt;action name="listasxml" method="execute" class="action.CustomerAction"&gt;</em></pre>
<pre style="padding-left:30px;"><em> &lt;result&gt;/listasxml.jsp&lt;/result&gt;</em></pre>
<pre style="padding-left:30px;"><em> &lt;/action&gt;</em></pre>
<p><strong>Note:</strong> You can avoid creating an additional JSP/Servlet and still add Flex front end to your application. Read this article <a href="http://sujitreddyg.wordpress.com/2010/06/09/tutorial-on-integrating-flex-with-struts-based-application-using-remoting/" target="_blank">Tutorial on Integrating Flex with Struts based application using Remoting</a></p>
<p>Now that u have the list of Customers returned as XML from the server, creating a Flex application is very easy.</p>
<p><strong>Creating Flex Application</strong></p>
<p>Install Flash Builder 4 from here – <a href="http://www.adobe.com/products/flashbuilder/" target="_blank">http://www.adobe.com/products/flashbuilder/</a></p>
<p>Launch Flash Builder and create new Flex project from File -&gt; New -&gt; Flex Project menu. You will see a window as shown in the image below. Enter the project details as explained below the image</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/2.png" target="_blank"><img class="aligncenter size-medium wp-image-1364" title="2" src="http://sujitreddyg.files.wordpress.com/2010/06/2.png?w=273&#038;h=300" alt="" width="273" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Set the project name to <em>FlexStrutsHttpSample</em></li>
<li>Leave the Project location to default</li>
<li>Set the Application Type to Web (Runs in Adobe Flash Player)</li>
<li>Set the SDK to default (Flex 4.0)</li>
<li>Set the Application server type to “None/Other”</li>
</ol>
<p>Flash Builder will create a new project along with a default application file called <em>FlexStrutsHttpSample.mxml</em>. To get the list of customers from the server we need to send a request to <em>listasxml </em>action configured on the server. Flex framework has a class called <em>HTTPService</em> using which you can send HTTP GET request to invoke <em>listasxml</em> action to get the customers in XML format.</p>
<p>You can manually write code to send the request or alternatively act smart and use the Data Centric Development (DCD) feature in Flash Builder <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Flash Builder can generate the code to send request to the server to get the data, lets see how.</p>
<p><strong>Creating Service</strong></p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/3.png" target="_blank"><img class="aligncenter size-medium wp-image-1365" title="3" src="http://sujitreddyg.files.wordpress.com/2010/06/3.png?w=300&#038;h=267" alt="" width="300" height="267" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” (highlighted in the image) in the Data/Services window</li>
<li>Window as shown in the image below will be launched</li>
</ol>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/4.png" target="_blank"><img class="aligncenter size-medium wp-image-1366" title="4" src="http://sujitreddyg.files.wordpress.com/2010/06/4.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>In this window you can select the type of service you want to connect to. We need to connect to a HTTP service, select HTTP and click Next to continue.</p>
<p><strong>Setting service properties</strong></p>
<p>For each service there will be an Action Script class generated and for each operation of the service there will be a function generated inside the class. A service can have any number of operations. Each operation has an URL associated with it, when the respective function is invoked a HTTP request is sent to the corresponding URL. We will create a service and an operation to consume the data from the <em>listasxml </em>action/jsp.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/5.png" target="_blank"><img class="aligncenter size-medium wp-image-1367" title="5" src="http://sujitreddyg.files.wordpress.com/2010/06/5.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Change      the operation name to <em>getAllCustomers</em></li>
<li>Set      the URL of the operation to <em>http://&lt;server-name&gt;:&lt;server-port&gt;/&lt;webapp-context&gt;/listasxml.action</em> in this sample it is <em>http://localhost:9191/flexstrutssample/struts/listasxml.action</em></li>
<li>Since      we don’t have to send any parameters to the server, skip the parameters      section</li>
<li>Set      the service name to <em>CustomerService</em></li>
<li>Leave      the rest to default values</li>
<li>Click      on finish button to create the service</li>
</ol>
<p>A service named <em>CustomerService</em> will be created and listed in the Data/Service panel (services explorer) as shown in the image below. You can view the source code files for the <em>CustomerService.as</em> in the package explorer.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/6.png" target="_blank"><img class="aligncenter size-medium wp-image-1368" title="6" src="http://sujitreddyg.files.wordpress.com/2010/06/6.png?w=300&#038;h=188" alt="" width="300" height="188" /></a></p>
<p><strong>Configuring return type of the operation</strong></p>
<p>We will configure service operation to create Action Script classes when the XML data is returned from the server. This will make coding easier, since it is easier to deal with strong typed objects than parsing the XML data.</p>
<p>Right click on the <em>getAllCustomers</em> operation in the Data/Services panel and select <em>Configure return type</em> as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/7.png" target="_blank"><img class="aligncenter size-medium wp-image-1369" title="7" src="http://sujitreddyg.files.wordpress.com/2010/06/7.png?w=300&#038;h=188" alt="" width="300" height="188" /></a></p>
<p>A window as shown in the image below will be launched with options to configure the return type. You can chose an existing data type or let the Flash Builder generate VO classes based on the response from the server. Let’s leave it to the Flash Builder to generate required VO classes based on the server response as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/8.png" target="_blank"><img class="aligncenter size-medium wp-image-1370" title="8" src="http://sujitreddyg.files.wordpress.com/2010/06/8.png?w=297&#038;h=300" alt="" width="297" height="300" /></a></p>
<p>Click Next to continue. Flash Builder will display a screen as shown in the image below, where you can enter the parameters to be passed to the server along with the request.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/9.png" target="_blank"><img class="aligncenter size-medium wp-image-1371" title="9" src="http://sujitreddyg.files.wordpress.com/2010/06/9.png?w=297&#038;h=300" alt="" width="297" height="300" /></a></p>
<p>We don’t have to pass any parameters in this step. Flash Builder also allows you to give sample response rather than sending a request to the server to get the data. This will be useful when the server side code is not ready but you want to continue creating the Flex application without waiting for the service to be created. Since we have the service ready in our case, let’s send a request to the server and configure return type. Click on next to continue.</p>
<p>Flash Builder parses the XML data returned by the server and displays the same as shown in the image below. You can select the XML node based on which you want the return type AS3 class to be generated.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/10.png" target="_blank"><img class="aligncenter size-medium wp-image-1372" title="10" src="http://sujitreddyg.files.wordpress.com/2010/06/10.png?w=300&#038;h=300" alt="" width="300" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select      the “customer” node</li>
<li>Click      on finish to continue</li>
</ol>
<p>You can see the return type of the operation in the <em>Data/Services</em> panel changed as shown in the image below. When we invoke the <em>getAllCustomers()</em> function, an Array of <em>Customer</em> type objects will be created based on the XML response from the server.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/11.png" target="_blank"><img class="aligncenter size-medium wp-image-1373" title="11" src="http://sujitreddyg.files.wordpress.com/2010/06/11.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p><strong>Binding service operation response to UI controls</strong></p>
<p>We usually write code to display the response from the service in a DataGrid or any other control. Flash Builder 4 has an awesome option, which allows you to easily bind a service operation response to a control.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/121.png" target="_blank"><img class="aligncenter size-medium wp-image-1375" title="12" src="http://sujitreddyg.files.wordpress.com/2010/06/121.png?w=300&#038;h=164" alt="" width="300" height="164" /></a></p>
<p>In this screen:</p>
<ol>
<li>Switch      to design view</li>
<li>Change      the Application layout to <em>spark.layouts.VerticalLayout</em> using the properties panel</li>
<li>Drag      and drop a <em>DataGrid</em> controls      from the <em>components</em> panel on to      the design area</li>
<li>Set      the <em>width</em> and <em>height </em>properties of the <em>DataGrid</em> to 100%</li>
<li>Right click on the <em>DataGrid</em> and select “Bind to Data …”</li>
</ol>
<p>A window as shown in the image below will be launched.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/13.png" target="_blank"><img class="aligncenter size-medium wp-image-1377" title="13" src="http://sujitreddyg.files.wordpress.com/2010/06/13.png?w=300&#038;h=256" alt="" width="300" height="256" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select “New service call” because there are no existing services in the current application.</li>
<li>Select the <em>CustomerService</em></li>
<li>Select <em>getAllCustomers():Customer[]</em> from the operations list</li>
<li>Set the Data provider to <em>Customer[]</em></li>
<li>Click OK</li>
</ol>
<p>You can see the <em>DataGrid</em> in the design updated its columns to display properties of the <em>Customer </em>object as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/14.png" target="_blank"><img class="aligncenter size-medium wp-image-1378" title="14" src="http://sujitreddyg.files.wordpress.com/2010/06/14.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p>Save and run the application, you can see the data retrieved from the Remoting service and displayed in the DataGrid as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/06/15.png" target="_blank"><img class="aligncenter size-medium wp-image-1379" title="15" src="http://sujitreddyg.files.wordpress.com/2010/06/15.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p>You can find more articles on integrating Flex with various server technologies at this URL <a href="../../../../../flash-builder-4" target="_blank">http://sujitreddyg.wordpress.com/flash-builder-4</a></p>
<p>Its your application, make it Richer <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1358/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1358&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/06/07/tutorial-on-integrating-flex-with-struts-based-application-using-http-service/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/1.png?w=300" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/2.png?w=273" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/3.png?w=300" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/4.png?w=272" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/5.png?w=272" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/6.png?w=300" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/7.png?w=300" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/8.png?w=297" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/9.png?w=297" medium="image">
			<media:title type="html">9</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/10.png?w=300" medium="image">
			<media:title type="html">10</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/11.png?w=300" medium="image">
			<media:title type="html">11</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/121.png?w=300" medium="image">
			<media:title type="html">12</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/13.png?w=300" medium="image">
			<media:title type="html">13</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/14.png?w=300" medium="image">
			<media:title type="html">14</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/15.png?w=300" medium="image">
			<media:title type="html">15</media:title>
		</media:content>
	</item>
		<item>
		<title>The largest Adobe Conference in India is Back</title>
		<link>http://sujitreddyg.wordpress.com/2010/06/03/the-largest-adobe-conference-in-india-is-back/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/06/03/the-largest-adobe-conference-in-india-is-back/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 11:13:14 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[announcements]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1346</guid>
		<description><![CDATA[http://bit.ly/adobesummit Cheers<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1346&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://bit.ly/adobesummit" target="_blank"><img class="aligncenter size-full wp-image-1387" title="AdobeFlashPlatformSummit" src="http://sujitreddyg.files.wordpress.com/2010/06/adobeflashplatformsummit.png?w=450" alt=""   /></a></p>
<p style="text-align:center;"><a href="http://bit.ly/adobesummit" target="_blank">http://bit.ly/adobesummit</a></p>
<p style="text-align:left;">Cheers <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1346&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/06/03/the-largest-adobe-conference-in-india-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/06/adobeflashplatformsummit.png" medium="image">
			<media:title type="html">AdobeFlashPlatformSummit</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring BlazeDS and Flash Builder Data Centric Development</title>
		<link>http://sujitreddyg.wordpress.com/2010/05/17/spring-blazeds-and-flash-builder-data-centric-development/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/05/17/spring-blazeds-and-flash-builder-data-centric-development/#comments</comments>
		<pubDate>Mon, 17 May 2010 13:42:17 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex and BlazeDS]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[flash builder and spring blazeds]]></category>
		<category><![CDATA[flex and spring blazeds]]></category>
		<category><![CDATA[flex spring blazeds flash builder tutorial]]></category>
		<category><![CDATA[flex tutorials]]></category>
		<category><![CDATA[setting up spring blazeds]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1325</guid>
		<description><![CDATA[Data Centric Development (DCD) in Flash Builder 4 allows developers to build Flex front end for any back-ends very easily. Spring BlazeDS project from SpringSource makes it easier to create spring powered Rich Internet Applications using Adobe Flex. In this article we will see how we can use Adobe Flex, Flash Builder 4, BlazeDS, Spring, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1325&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Data Centric Development (DCD) in Flash Builder 4 allows developers to build Flex front end for any back-ends very easily.</p>
<p><a href="http://www.springsource.org/spring-flex" target="_blank">Spring BlazeDS</a> project from <a href="http://www.springsource.com/">SpringSource</a> makes it easier to create spring powered Rich Internet Applications using Adobe Flex.</p>
<p>In this article we will see how we can use Adobe Flex, Flash Builder 4, BlazeDS, Spring, Spring BlazeDS and Java to create Rich Internet Application.</p>
<p>Lets start with setting up web application on the server.</p>
<p><strong>Create Web Application</strong></p>
<p>Start by creating a web application name <em>springblazedssample</em>. You can do that by creating a folder named <em>springblazedssample</em> under your web server document folder.</p>
<p><strong>Set up BlazeDS</strong></p>
<p>Set up BlazeDS for web application created in previous step as explained in this URL <a href="../../../../../2009/04/07/setting-up-blazeds/" target="_blank">http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/</a></p>
<p><strong>Set up Spring BlazeDS</strong></p>
<p>Download Spring BlazeDS from this URL <a href="http://s3.amazonaws.com/dist.springframework.org/release/FLEX/spring-flex-1.0.3.RELEASE.zip" target="_blank">http://s3.amazonaws.com/dist.springframework.org/release/FLEX/spring-flex-1.0.3.RELEASE.zip</a></p>
<p>You will be downloading file named <em>spring-flex-1.0.3.RELEASE.zip.</em> After downloading, extract the contents of <em>spring-flex-1.0.3.RELEASE.zip</em> into a folder called <em>spring-flex-1.0.3.RELEASE</em>. Copy <em>org.springframework.flex-1.0.3.RELEASE.jar</em> from <em>spring-flex-1.0.3.RELEASE/dist</em> folder to your web application under <em>springblazedssample/WEB-INF/lib</em></p>
<p><strong>Set up Spring</strong></p>
<p>Download Spring from this URL <a href="http://s3.amazonaws.com/dist.springframework.org/release/SPR/spring-framework-3.0.2.RELEASE.zip" target="_blank">http://s3.amazonaws.com/dist.springframework.org/release/SPR/spring-framework-3.0.2.RELEASE.zip</a></p>
<p>You will be downloading file named <em>spring-framework-3.0.2.RELEASE.zip.</em> Extract contents of <em>spring-framework-3.0.2.RELEASE.zip</em> into a folder named <em>spring-framework-3.0.2.RELEASE. </em>Copy all .jar files under <em>spring-framework-3.0.2.RELEASE/dist</em> folder to your web application folder under <em>springblazedssample/WEB-INF/lib</em></p>
<p><em> </em></p>
<p><strong>Add Dependencies (3)<br />
</strong></p>
<p>1. Download <em>cglib-nodep-2.2.jar</em> from this URL <a href="http://sourceforge.net/projects/cglib/files/cglib2/" target="_blank">http://sourceforge.net/projects/cglib/files/cglib2/</a> Copy the same into your web application folder under <em>springblazedssample/WEB-INF/lib</em></p>
<p>2. Download <em>backport-util-concurrent .jar</em> from this URL <a href="http://backport-jsr166.sourceforge.net/" target="_blank">http://backport-jsr166.sourceforge.net/</a> Copy the same into your web application folder under <em>springblazedssample/WEB-INF/lib</em></p>
<p>3. Download <em>aopalliance.zip</em> from this URL <a href="http://sourceforge.net/projects/aopalliance/files/" target="_blank">http://sourceforge.net/projects/aopalliance/files/</a> You will find aopalliance.zip under section called 1.0</p>
<p>Extract the contents of <em>aopalliance.zip</em> into a folder named <em>aopalliance</em> and copy <em>aopalliance.jar</em> into your web application folder under <em>springblazedssample/WEB-INF/lib</em></p>
<p><strong>Configuring Spring MVC Dispatcher and RDS Servlets</strong></p>
<p>Download the <em>web.xml</em> with MVC Dispatcher servlet and RDS Servlet (used by Flash Builder) definitions and mappings from here <a href="http://sujitreddyg.com/fb4articles/springblazeds/web.xml" target="_blank">http://sujitreddyg.com/fb4articles/springblazeds/web.xml</a>. Replace <em>springblazedssample/WEB-INF/web.xml</em> with the downloaded <em>web.xml</em></p>
<p><strong> </strong></p>
<p><strong>Configuring Spring managed beans</strong></p>
<p>In this sample we will use <a href="http://sujitreddyg.com/fb4articles/springblazeds/SimpleCustomerService.java.txt" target="_blank">SimpleCustomerService.java</a> and <a href="http://sujitreddyg.com/fb4articles/springblazeds/SimpleCustomer.java.txt" target="_blank">SimpleCustomer.java</a>. We will configure <em>SimpleCustomerService</em> as spring managed bean and expose the same as Remoting Service to consume from Flex application. Download <em>web-application-config.xml</em> from here <a href="http://sujitreddyg.com/fb4articles/springblazeds/web-application-config.xml" target="_blank">http://sujitreddyg.com/fb4articles/springblazeds/web-application-config.xml</a> Place <em>web-application-config.xml</em> in your web application folder under <em>springblazedssample/WEB-INF/config </em>folder<em>.<br />
</em></p>
<p>In web-application-config.xml:</p>
<ul>
<li>We configured BlazeDS Message Broker Servlet as spring managed bean using <strong>&lt;flex:message-broker/&gt;</strong> tag.</li>
</ul>
<ul>
<li>We exposed SimpleCustomerService bean (id=CustomerService) as BlazeDS Remoting Service destination by adding <strong>&lt;flex:remoting-destination/&gt;</strong> tag.</li>
</ul>
<p>Download the Java class files used in this sample from here <a href="http://sujitreddyg.com/fb4articles/springblazeds/javaclasses.zip" target="_blank">http://sujitreddyg.com/fb4articles/springblazeds/javaclasses.zip</a>. You will be downloading a file named <em>javaclasses.zip</em>. Extract <em>javaclasses.zip</em> into a folder named <em>javaclasses</em> and copy folder named <em>com</em> under <em>javaclasses</em> into your web application folder under <em>springblazedssample/WEB-INF/classes </em>folder.<em><br />
</em></p>
<p>We have our server environment setup; lets create Flex application, which consumes <em>SimpleCustomerService</em> exposed as Remoting service destination.</p>
<p><strong> </strong></p>
<p><strong>Install Flash Builder 4</strong></p>
<p>Download and install Flash Builder 4 from here <a href="http://www.adobe.com/products/flashbuilder/" target="_blank">http://www.adobe.com/products/flashbuilder/</a><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Create new Flex project</strong></p>
<p>Create new Flex from File -&gt; New -&gt; Flex Project menu.</p>
<p><strong> </strong></p>
<p><strong>Enter project details</strong></p>
<p><strong> </strong></p>
<p><a href="http://sujitreddyg.files.wordpress.com/2010/05/1.png" target="_blank"><img class="aligncenter size-medium wp-image-1328" title="1" src="http://sujitreddyg.files.wordpress.com/2010/05/1.png?w=273&#038;h=300" alt="" width="273" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Set project name as SpringBlazeDSSample</li>
<li>Set “Web (runs in Adobe Flash Player)” as the application type</li>
<li>Use default Flex SDK (Flex 4.0)</li>
<li>Set the application server type to J2EE</li>
<li>Select BlazeDS</li>
<li>Click Next to continue</li>
</ol>
<p><strong>Configure J2EE server settings</strong></p>
<p><strong> </strong></p>
<p><a href="http://sujitreddyg.files.wordpress.com/2010/05/2.png" target="_blank"><img class="aligncenter size-medium wp-image-1329" title="2" src="http://sujitreddyg.files.wordpress.com/2010/05/2.png?w=273&#038;h=300" alt="" width="273" height="300" /></a></p>
<p>In this screen:</p>
<ol>
<li>Set the <em>Root folder</em> to the root folder of your web application with BlazeDS configured. Its <em>/tomcatworkspace/springblazedssample</em> in this sample</li>
<li>Set the <em>Root URL</em> to root URL of your web application. Its <em>http://localhost:8080/springblazedssample</em> in this sample.</li>
<li>Set the <em>Context root</em> to context root of your BlazeDS enabled web application (<em>springblazedssample</em>).</li>
<li>Leave the output folder to default value.</li>
<li>Click on validate configuration button and see if the configuration is valid.</li>
<li>Click finish to continue.</li>
</ol>
<p><strong> </strong></p>
<p>DCD or Data-Centric Development is one of the advancements to the Flash Builder 4. Let’s see how easily we can create a Flex application that consumes BlazeDS Remoting service (SimpleCustomerService) using DCD.</p>
<p><strong>Creating Service using DCD</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><a href="http://sujitreddyg.files.wordpress.com/2010/05/3.png" target="_blank"><img class="aligncenter size-medium wp-image-1330" title="3" src="http://sujitreddyg.files.wordpress.com/2010/05/3.png?w=247&#038;h=300" alt="" width="247" height="300" /></a></p>
<ol>
<li>Select the Data/Services window shown in the image above. If this is not visible, select it from Window -&gt; Data/Services</li>
<li>Click on “Connect to Data/Service” (highlighted in the image above) in the Data/Services window</li>
<li>Window as shown in the image below will be launched</li>
</ol>
<p><strong> </strong></p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/4.png" target="_blank"><img class="aligncenter size-medium wp-image-1331" title="4" src="http://sujitreddyg.files.wordpress.com/2010/05/4.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>Select BlazeDS and click on Next. Flash Builder will display a window asking for RDS credentials. Since we turned off security for our RDSServlet by setting the “useAppserverSecurity” parameter to “false” in the web.xml, select “No password required” and click on OK to continue.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/5.png" target="_blank"><img class="aligncenter size-medium wp-image-1332" title="5" src="http://sujitreddyg.files.wordpress.com/2010/05/5.png?w=300&#038;h=165" alt="" width="300" height="165" /></a></p>
<p><strong>Selecting Remoting destination</strong></p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/6.png" target="_blank"><img class="aligncenter size-medium wp-image-1333" title="6" src="http://sujitreddyg.files.wordpress.com/2010/05/6.png?w=272&#038;h=300" alt="" width="272" height="300" /></a></p>
<p>You can see that Flash Builder listed <em>SimpleCustomerService</em> bean exposed as Remoting Service destination using <em>&lt;flex:remoting-detination/&gt;</em> tag. Similarly any other Remoting service destinations will be listed here. Select a destination (CustomerService in this sample) for which you want the code to be generated and click on Finish to continue.</p>
<p>Code for invoking the Remoting service will be generated, you can see the service and its operations (public methods of the Java class) being displayed in the “Data/Services” window in the image below and source files for the same in Flash Builder package explorer.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/7.png" target="_blank"><img class="aligncenter size-medium wp-image-1334" title="7" src="http://sujitreddyg.files.wordpress.com/2010/05/7.png?w=300&#038;h=114" alt="" width="300" height="114" /></a></p>
<p>Flash Builder 4 introspects return types for the Java class methods and creates AS3 classes for any custom Java data types.</p>
<p><strong> </strong></p>
<p><strong>Binding data/service to UI controls</strong></p>
<p><strong> </strong></p>
<p>Other than generating code to consume services from Flex applications, Flash Builder can also generate code to bind the service result to a UI component. Switch to design view and add a DataGrid component as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/8.png" target="_blank"><img class="aligncenter size-medium wp-image-1335" title="8" src="http://sujitreddyg.files.wordpress.com/2010/05/8.png?w=300&#038;h=224" alt="" width="300" height="224" /></a></p>
<p>Select the DataGrid. Right click on the DataGrid and select “Bind to Data …” as shown in the image above. A window as shown in the image below will be launched.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/9.png" target="_blank"><img class="aligncenter size-medium wp-image-1336" title="9" src="http://sujitreddyg.files.wordpress.com/2010/05/9.png?w=300&#038;h=256" alt="" width="300" height="256" /></a></p>
<p>In this screen:</p>
<ol>
<li>Select “New service call”.</li>
<li>Select “CustomerService” from the list of services.</li>
<li>Select “getAllCustomers():SimpleCustomer[]” from the operations list.</li>
<li>Select SimpleCustomer[] as Data Provider.</li>
<li>Click OK to continue.</li>
</ol>
<p>Switch to code view and set the <em>endpoint</em> property of the CustomerService (CustomerService instance added to SpringBlazeDSSample.mxml) to <em>/springblazedssample/messagebroker/amf</em> as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/10.png" target="_blank"><img class="aligncenter size-medium wp-image-1337" title="10" src="http://sujitreddyg.files.wordpress.com/2010/05/10.png?w=300&#038;h=164" alt="" width="300" height="164" /></a></p>
<p>Save and run the application. Your application will invoke the <em>getAllCustomers()</em> method in <em>SimpleCustomerService</em> class on the server and displays the returned data in the DataGrid as shown in the image below.</p>
<p style="text-align:center;"><a href="http://sujitreddyg.files.wordpress.com/2010/05/11.png" target="_blank"><img class="aligncenter size-medium wp-image-1338" title="11" src="http://sujitreddyg.files.wordpress.com/2010/05/11.png?w=300&#038;h=180" alt="" width="300" height="180" /></a></p>
<p><strong> </strong></p>
<p>You can find more tutorials on Flash Builder 4 here  <a href="../../../../../2009/06/01/2009/06/01/flash-builder-4/">http://sujitreddyg.wordpress.com/flash-builder-4/</a></p>
<p>Adobe Flex Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1325/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1325&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/05/17/spring-blazeds-and-flash-builder-data-centric-development/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/1.png?w=273" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/2.png?w=273" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/3.png?w=247" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/4.png?w=272" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/5.png?w=300" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/6.png?w=272" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/7.png?w=300" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/8.png?w=300" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/9.png?w=300" medium="image">
			<media:title type="html">9</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/10.png?w=300" medium="image">
			<media:title type="html">10</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/05/11.png?w=300" medium="image">
			<media:title type="html">11</media:title>
		</media:content>
	</item>
		<item>
		<title>Adobe Application Modeling (Fiber Modeler) Plug-in Released</title>
		<link>http://sujitreddyg.wordpress.com/2010/04/07/adobe-application-modeling-fiber-modeler-plug-in-released/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/04/07/adobe-application-modeling-fiber-modeler-plug-in-released/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 08:10:03 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1279</guid>
		<description><![CDATA[The new Adobe application modeling technology (Code named Fiber) brings model-driven development to Flex® and Adobe LiveCycle® software developers. The technology enables developers to write applications at a higher level, reducing the amount of code and simplifying data integration in the development of applications. Please find more details here http://www.adobe.com/products/livecycle/applicationmodeling/ Adobe Application modeling plug-in is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1279&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The new Adobe application modeling technology (Code named Fiber) brings <strong>model-driven  development</strong> to Flex® and Adobe LiveCycle® software developers. The  technology enables developers to write applications at a higher level,  reducing the amount of code and simplifying data integration in the  development of applications. Please find more details here <a href="http://www.adobe.com/products/livecycle/applicationmodeling/" target="_blank">http://www.adobe.com/products/livecycle/applicationmodeling/</a></p>
<p>Adobe Application modeling plug-in is a  graphical modeling editor can be installed as a plug-in to Flash Builder  4 to automatically generate both client and server code, accelerating  the application development lifecycle.</p>
<p>Download Adobe Application Modeling plug-in from this URL <a href="http://www.adobe.com/cfusion/entitlement/index.cfm?e=lc%5Fapp%5Fmodel" target="_blank">Download Adobe Application Modeling Plug-in</a> (20 MB.  For Flash Builder 4 release version click on “For Eclipse 3.5  Download”)</p>
<p><em><strong>Articles which will help you install the plug-in and learn how to use the plug-in:</strong></em></p>
<p><a href="http://www.adobe.com/devnet/livecycle/articles/lcdses2_mdd_quickstart.html" target="_blank">Setting up model-driven development with LiveCycle Data Services ES2</a></p>
<p><a title="Tutorial on model-driven  development using Flash Builder 4 and LiveCycle DS 3" rel="bookmark" href="http://sujitreddyg.wordpress.com/2009/06/18/tutorial-on-model-driven-development-using-flash-builder-4-and-livecycle-ds-3/" target="_blank">Tutorial on  model-driven development using Flash Builder 4 and LiveCycle DS 3</a></p>
<p><a href="http://help.adobe.com/en_US/LiveCycleDataServicesES/3.0/QuickStarts/lcds3_quickstarts.html" target="_blank">LiveCycle Data Services Quick Starts</a></p>
<p>Congratulations to the entire LiveCycle Data Services team … LCDS team  Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1279&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/04/07/adobe-application-modeling-fiber-modeler-plug-in-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>
	</item>
		<item>
		<title>Updated Flash Builder 4 Tutorials</title>
		<link>http://sujitreddyg.wordpress.com/2010/03/31/updated-flash-builder-4-tutorials/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/03/31/updated-flash-builder-4-tutorials/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 07:04:54 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[BlazeDS]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex and BlazeDS]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[flex and lcds]]></category>
		<category><![CDATA[flex and php]]></category>
		<category><![CDATA[flash builder 4 articles]]></category>
		<category><![CDATA[flash builder 4 tutorials]]></category>
		<category><![CDATA[flashbuilder]]></category>
		<category><![CDATA[flashbuilder tutorials]]></category>
		<category><![CDATA[flashbuilder4]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1275</guid>
		<description><![CDATA[Flash Builder 4 is released and available for download here http://www.adobe.com/products/flashbuilder/ There lots of new features in Flash Builder 4, you can find top new features here http://www.adobe.com/products/flashbuilder/?view=topnew I updated my article on Flash Builder 4 for the release version. You can find the complete list here http://sujitreddyg.wordpress.com/flash-builder-4/. Following are the articles updated: BlazeDS/Java/LCDS Building [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1275&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Flash Builder 4</strong> is released and available for download here <a href="http://www.adobe.com/products/flashbuilder/" target="_blank">http://www.adobe.com/products/flashbuilder/</a> There lots of new features in Flash Builder 4, you can find <strong>top new</strong> features here <a href="http://www.adobe.com/products/flashbuilder/?view=topnew" target="_blank">http://www.adobe.com/products/flashbuilder/?view=topnew</a></p>
<p>I updated my article on Flash Builder 4 for the release version. You can find the complete list here <a href="http://sujitreddyg.wordpress.com/flash-builder-4/" target="_blank">http://sujitreddyg.wordpress.com/flash-builder-4/</a>.</p>
<p>Following are the articles updated:</p>
<h4><strong>BlazeDS/Java/LCDS</strong></h4>
<p><a href="../../../../../2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/" target="_blank">Building Flex application for BlazeDS Remoting  destinations using Flash Builder 4</a></p>
<p><a title="Permanent Link: Building Flex applications for Java based  HTTP Services using Flash Builder 4" rel="bookmark" href="../../../../../2009/10/05/building-flex-applications-for-java-based-http-services-using-flash-builder-4/" target="_blank">Building Flex applications for Java based HTTP Services  using Flash Builder 4</a></p>
<p><a href="../../../../../2009/06/01/using-flash-builder-4-for-earlier-blazeds-builds/" target="_blank">Using Flash Builder 4 for earlier BlazeDS builds</a></p>
<p><a title="Tutorial on model-driven development using  Flash Builder 4 and LiveCycle DS 3" rel="bookmark" href="http://sujitreddyg.wordpress.com/2009/06/18/tutorial-on-model-driven-development-using-flash-builder-4-and-livecycle-ds-3/" target="_blank">Tutorial on model-driven development using Flash  Builder 4 and LiveCycle DS 3</a></p>
<p><a title="Permanent Link to Building Flex application for LCDS Data  Management services using Flash Builder 4" rel="bookmark" href="../../../../../2009/10/06/building-flex-application-for-lcds-data-management-services-using-flash-builder-4/" target="_blank">Building Flex application for LCDS Data Management  services using Flash Builder 4</a></p>
<p><a title="Permanent Link to Building Flex and Java based CRUD  application using Flash Builder 4" rel="bookmark" href="../../../../../2009/10/12/building-flex-and-java-based-crud-application-using-flash-builder-4/" target="_blank">Building Flex and Java based CRUD application using  Flash Builder 4</a></p>
<p><a title="Permanent Link to Building Flex and LCDS based CRUD  application using Flash Builder 4" rel="bookmark" href="../../../../../2009/10/13/building-flex-and-lcds-based-crud-application-using-flash-builder-4/">Building  Flex and LCDS based CRUD application using Flash Builder 4</a></p>
<h4><strong>PHP</strong></h4>
<p><a href="../../../../../2009/06/01/building-flex-application-for-a-php-class-using-flash-builder-4/" target="_blank">Bulding Flex application for a PHP class using Flash  Builder 4</a></p>
<p><a href="../../../../../2009/06/01/building-a-database-based-app-using-flex-and-php-with-flash-builder-4/" target="_blank">Building a database based app using Flex and PHP with  Flash Builder 4</a></p>
<h4><strong>HTTP Service</strong></h4>
<p><a title="Permanent Link: Building Flex applications for Java based  HTTP Services using Flash Builder 4" rel="bookmark" href="../../../../../2009/10/05/building-flex-applications-for-java-based-http-services-using-flash-builder-4/" target="_blank">Building Flex applications for Java based HTTP Services  using Flash Builder 4</a></p>
<p><a title="Permanent Link: Building Flex applications for PHP based  HTTP Services using Flash Builder 4" rel="bookmark" href="../../../../../2009/06/04/connecting-to-http-services-with-the-data-centric-development-dcd-feature-in-flash-builder-4/" target="_blank">Building Flex applications for PHP based HTTP Services  using Flash Builder 4</a></p>
<p><a title="Permanent Link to Consuming JSON using Data Centric  Development (DCD) feature in Flash Builder 4" rel="bookmark" href="../../../../../2009/06/05/consuming-json-using-data-centric-development-feature-dcd-in-flash-builder-4/" target="_blank">Consuming JSON using Data Centric Development (DCD)  feature in Flash Builder 4</a></p>
<h4><strong>OTHER</strong></h4>
<p><a href="../../../../../2009/06/03/built-in-data-paging-using-flash-builder-4/" target="_blank">Built in Data Paging using Flash Builder 4</a></p>
<p><a title="Permanent Link to Client Side Data Management using Flash  Builder 4" rel="bookmark" href="../../../../../2009/06/08/client-side-data-management-using-flash-builder-4/" target="_blank">Client Side Data Management using Flash Builder 4</a></p>
<p>Adobe Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1275&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/03/31/updated-flash-builder-4-tutorials/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex 4 Application Handling Touch Events on Android with Flash Player 10.1</title>
		<link>http://sujitreddyg.wordpress.com/2010/03/17/flex-4-application-handling-touch-events-on-android-with-flash-player-10-1/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/03/17/flex-4-application-handling-touch-events-on-android-with-flash-player-10-1/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 05:48:45 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flex and mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[flash player 10.1]]></category>
		<category><![CDATA[flash player and mobile]]></category>
		<category><![CDATA[flex 4]]></category>
		<category><![CDATA[nexus one]]></category>
		<category><![CDATA[touch events]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1033</guid>
		<description><![CDATA[Developed a simple Flickr search application using Flex 4, targeting Flash Player 10.1 on Google Nexus One. This application lets users search for photos on Flickr and uses the API provided by Flash Player 10.1 to handle touch events. Here is the video of the application: It took 3 hours for me to understand the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1033&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Developed a simple Flickr search application using Flex 4, targeting Flash Player 10.1 on Google Nexus One. This application lets users search for photos on Flickr and uses the API provided by Flash Player 10.1 to handle touch events.</p>
<p>Here is the video of the application:</p>
<span style="text-align:center; display: block;"><a href="http://sujitreddyg.wordpress.com/2010/03/17/flex-4-application-handling-touch-events-on-android-with-flash-player-10-1/"><img src="http://img.youtube.com/vi/WmaRM4K9TCw/2.jpg" alt="" /></a></span>
<p>It took 3 hours for me to understand the touch events and develop this application and of course used Data-Centric features in Flash Builder 4 to connect to the services exposed by Flickr. In this application I used the following to handle touch events:</p>
<ol>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/TouchEvent.html#TOUCH_BEGIN" target="_blank">TouchEvent.TOUCH_BEGIN</a></li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/TouchEvent.html#TOUCH_MOVE" target="_blank">TouchEvent.TOUCH_MOVE</a></li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/TouchEvent.html#TOUCH_END" target="_blank">TouchEvent.TOUCH_END</a></li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/events/TouchEvent.html#TOUCH_TAP" target="_blank">TouchEvent.TAP</a></li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/ui/Multitouch.html#supportsTouchEvents" target="_blank">Multitouch.supportsTouchEvents</a></li>
<li><a href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/ui/Multitouch.html#inputMode" target="_blank">Multitouch.inputMode</a></li>
</ol>
<p>Download the source here <a href="http://sujitreddyg.com/samples/FlickrMobile.zip" target="_blank">http://sujitreddyg.com/samples/FlickrMobile.zip</a></p>
<p>Details on Flash Player 10.1 API for touch, multitouch and gestures can be found in <a href="http://help.adobe.com/en_US/as3/dev/WSb2ba3b1aad8a27b0-6ffb37601221e58cc29-8000.html" target="_blank">Flex Developer Guide</a>. Also read <a href="http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html" target="_blank">Multi-touch and gesture support on the Flash Platform</a> by Christian Cantrell and <a href="http://www.jamesward.com/2010/02/19/flex-4-list-scrolling-on-android-with-flash-player-10-1/" target="_blank">Flex 4 List Scrolling on Android with Flash Player 10.1</a> by James Ward.</p>
<p>Adobe Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1033/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1033/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1033/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1033&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/03/17/flex-4-application-handling-touch-events-on-android-with-flash-player-10-1/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>
	</item>
		<item>
		<title>Application developed using Flex 4 and DCD targeting Flash Player on Android Device</title>
		<link>http://sujitreddyg.wordpress.com/2010/03/04/application-developed-using-flex-4-and-dcd-targeting-flash-player-on-android-device/</link>
		<comments>http://sujitreddyg.wordpress.com/2010/03/04/application-developed-using-flex-4-and-dcd-targeting-flash-player-on-android-device/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 15:12:09 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Flex and BlazeDS]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[flex and lcds]]></category>
		<category><![CDATA[flex and mobile]]></category>
		<category><![CDATA[flex application on android]]></category>
		<category><![CDATA[flex application on mobile devices]]></category>
		<category><![CDATA[flex application on nexus one]]></category>
		<category><![CDATA[flex on android]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=1011</guid>
		<description><![CDATA[Used Flex 4 and Data-Centric Development (DCD) in Flash Builder 4 to create a application which can be used in devices with Flash Player 10.1 support. This applications loads data from tomcat server configured with LiveCycle DS; Lets the user view the data and edit the same. Please find below the screen shots of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1011&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Used <strong>Flex 4</strong> and <strong>Data-Centric Development</strong> (DCD) in <strong>Flash Builder 4</strong> to create a application which can be used in devices with Flash Player 10.1 support. This applications loads data from tomcat server configured with LiveCycle DS; Lets the user view the data and edit the same. Please find below the screen shots of the application running on Google Nexus One with Flash Player 10.1 <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note: I took the screen shots of the application running on Google Nexus One phone using Dalvik Debug Monitor packaged with Android SDK</p>
<p>I also wanted to see if I can use the same application to target Flash Player running on bigger screens like Mac. Since I used Flex 4, I just created different skins for my custom components so that the applications looks good when launched from a Mac or PC. After creating the skins, all I had to do was to change the &lt;style&gt; tag in the main application to point to the css configured with my new skins and re-compile my application. Please see below the screen shot of the application launched from Firefox on my mac <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The application developed here is consuming data from a Data Management Service destination of LiveCycle DS (LCDS) and so any changes to the data on the mobile devices is pushed to all other clients viewing the same data <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In the last image below, you can see the changes made on the mobile being pushed onto the application running on Mac.</p>
<p><strong>Screen Shots:</strong></p>
<p style="text-align:center;">
<div id="attachment_1012" class="wp-caption aligncenter" style="width: 190px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct1.png" target="_blank"><img class="size-medium wp-image-1012" title="View Products" src="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct1.png?w=180&#038;h=300" alt="View Products" width="180" height="300" /></a><p class="wp-caption-text">View Products</p></div>
<div id="attachment_1013" class="wp-caption aligncenter" style="width: 190px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct2.png" target="_blank"><img class="size-medium wp-image-1013" title="View Products 2" src="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct2.png?w=180&#038;h=300" alt="View Products 2" width="180" height="300" /></a><p class="wp-caption-text">View Products 2</p></div>
<div id="attachment_1014" class="wp-caption aligncenter" style="width: 190px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/editproductview.png" target="_blank"><img class="size-medium wp-image-1014" title="Edit Product View" src="http://sujitreddyg.files.wordpress.com/2010/03/editproductview.png?w=180&#038;h=300" alt="Edit Product View" width="180" height="300" /></a><p class="wp-caption-text">Edit Product View</p></div>
<div id="attachment_1015" class="wp-caption aligncenter" style="width: 190px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/editingproductview.png" target="_blank"><img class="size-medium wp-image-1015 " title="Editing Product Name using Android Keyboard" src="http://sujitreddyg.files.wordpress.com/2010/03/editingproductview.png?w=180&#038;h=300" alt="Editing Product Name using Android Keyboard" width="180" height="300" /></a><p class="wp-caption-text">Editing Product Name using Android Keyboard</p></div>
<div id="attachment_1020" class="wp-caption aligncenter" style="width: 190px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/viewingeditedproducts1.png" target="_blank"><img class="size-medium wp-image-1020" title="Viewing Edited Product" src="http://sujitreddyg.files.wordpress.com/2010/03/viewingeditedproducts1.png?w=180&#038;h=300" alt="Viewing Edited Product" width="180" height="300" /></a><p class="wp-caption-text">Viewing Edited Product</p></div>
<div id="attachment_1017" class="wp-caption aligncenter" style="width: 310px"><a href="http://sujitreddyg.files.wordpress.com/2010/03/apponpc.png" target="_blank"><img class="size-medium wp-image-1017" title="Application Running on Mac" src="http://sujitreddyg.files.wordpress.com/2010/03/apponpc.png?w=300&#038;h=180" alt="Application Running on Mac" width="300" height="180" /></a><p class="wp-caption-text">Application Running on Mac</p></div>
<p>Adobe Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/1011/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/1011/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/1011/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=1011&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2010/03/04/application-developed-using-flex-4-and-dcd-targeting-flash-player-on-android-device/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct1.png?w=180" medium="image">
			<media:title type="html">View Products</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/viewproduct2.png?w=180" medium="image">
			<media:title type="html">View Products 2</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/editproductview.png?w=180" medium="image">
			<media:title type="html">Edit Product View</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/editingproductview.png?w=180" medium="image">
			<media:title type="html">Editing Product Name using Android Keyboard</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/viewingeditedproducts1.png?w=180" medium="image">
			<media:title type="html">Viewing Edited Product</media:title>
		</media:content>

		<media:content url="http://sujitreddyg.files.wordpress.com/2010/03/apponpc.png?w=300" medium="image">
			<media:title type="html">Application Running on Mac</media:title>
		</media:content>
	</item>
		<item>
		<title>Slides and Source files from Data Centric Development session at devsummit</title>
		<link>http://sujitreddyg.wordpress.com/2009/12/03/slides-and-source-files-from-data-centric-development-session-at-devsummit/</link>
		<comments>http://sujitreddyg.wordpress.com/2009/12/03/slides-and-source-files-from-data-centric-development-session-at-devsummit/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 09:51:27 +0000</pubDate>
		<dc:creator>Sujit Reddy G</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Flex and BlazeDS]]></category>
		<category><![CDATA[Flex and Java]]></category>
		<category><![CDATA[flex and lcds]]></category>
		<category><![CDATA[flex and php]]></category>
		<category><![CDATA[devsummit 2009]]></category>
		<category><![CDATA[devsummit chennai]]></category>
		<category><![CDATA[devsummit hyderabad]]></category>
		<category><![CDATA[devsummit presentations]]></category>

		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=993</guid>
		<description><![CDATA[I had great time presenting Data Centric Development on Adobe Flash Platform at Adobe devsummit Chennai and Hyderabad. Thanks to all the speakers, community members and delegates for making this devsummit a great success Please download the presentation and source files for the demos from the URLs below. PRESENTATION Please find the presentation (Some of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=993&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had great time presenting <strong>Data Centric Development on Adobe Flash Platform</strong> at <a href="http://endtoend.in/apps/forms/adobe/DevSummitNovDec09/home.html" target="_blank">Adobe devsummit</a> Chennai and Hyderabad. Thanks to all the speakers, community members and delegates for making this devsummit a great success <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Please download the presentation and source files for the demos from the URLs below.</p>
<p><strong>PRESENTATION</strong></p>
<p>Please find the presentation (Some of my slides are from <a href="http://coenraets.org/blog/" target="_blank">Christophe Coenraets</a><strong> </strong>presentation at Adobe MAX) at this URL <a href="https://acrobat.com/#d=iXpvdvfVGYYunqRt*xZ*6A" target="_blank">https://acrobat.com/#d=iXpvdvfVGYYunqRt*xZ*6A</a></p>
<p><strong>SOURCE FILES FOR DEMOS</strong></p>
<p>Please download the Java and PHP source files used in the first two demos and set up as explained in the article at this URL <a href="http://flashahead.adobe.com/events/devsummit2009/lbd/lbd_setup_instructions.pdf" target="_blank">http://flashahead.adobe.com/events/devsummit2009/lbd/lbd_setup_instructions.pdf</a></p>
<p><em><strong>Flash Builder 4 DCD with Java</strong></em></p>
<p>Demonstrated how Data-Centric Development features in Flash Builder 4 can be used to easily integrate Flex with J2EE backend. Please find tutorial on using Flash Builder with J2EE backend at this URL <a href="http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/" target="_blank">http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/</a></p>
<p>Source file (Flash Builder 4 project): <a href="http://sujitreddyg.com/presentations/devsummit2009/demo1.fxp" target="_blank">http://sujitreddyg.com/presentations/devsummit2009/demo1.fxp</a></p>
<p><em><strong>Flash Builder 4 DCD with PHP</strong></em></p>
<p>Demonstrated how Data-Centric Development features in Flash Builder 4 can be used to easily integrate Flex with PHP backend. Please find tutorial on using Flash Builder 4 with PHP backend at this URL <a href="http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-a-php-class-using-flash-builder-4/" target="_blank">http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-a-php-class-using-flash-builder-4/</a></p>
<p>Source file (Flash Builder 4 project): <a href="http://sujitreddyg.com/presentations/devsummit2009/demo2.fxp" target="_blank">http://sujitreddyg.com/presentations/devsummit2009/demo2.fxp</a></p>
<p><em><strong>Model Driven Development</strong></em></p>
<p>Demonstrated how to do model driven development using Flash Builder 4 and LiveCycle Data Services 3. Please find tutorial on model driven development and setup instructions at this URL <a href="http://sujitreddyg.wordpress.com/2009/06/18/tutorial-on-model-driven-development-using-flash-builder-4-and-livecycle-ds-3/" target="_blank">http://sujitreddyg.wordpress.com/2009/06/18/tutorial-on-model-driven-development-using-flash-builder-4-and-livecycle-ds-3/</a></p>
<p>Source file (Flash Builder 4 project): <a href="http://sujitreddyg.com/presentations/devsummit2009/demo3.fxp" target="_blank">http://sujitreddyg.com/presentations/devsummit2009/demo3.fxp</a></p>
<p>Adobe Community Rocks <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sujitreddyg.wordpress.com/993/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sujitreddyg.wordpress.com/993/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sujitreddyg.wordpress.com/993/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sujitreddyg.wordpress.com&amp;blog=2430943&amp;post=993&amp;subd=sujitreddyg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sujitreddyg.wordpress.com/2009/12/03/slides-and-source-files-from-data-centric-development-session-at-devsummit/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">SujitReddyG</media:title>
		</media:content>
	</item>
	</channel>
</rss>
