Flash Builder 4 has added Data-Centric Development features which will help you develop Flex applications for BlazeDS Remoting destinations very easily. You can create Flex front end for the Remoting destinations in just couple of clicks.
Flash Builder 4 uses the flex-rds.server.jar file which is added in BlazeDS 4. This jar file is used by Flash Builder 4 to retrieve details of the destinations exposed as Remoting services using BlazeDS. If you are using earlier builds of BlazeDS, you can still use new features in Flash Builder 4 by just copying the required jar file from BlazeDS 4 build.
Just follow the following simple steps to use Data-Centric Development features in Flash Builder 4
- Download BlazeDS 4 build from this URL http://flexorg.wip3.adobe.com/blazeds/trunk/beta1/7548/blazeds-bin-4.0.0.7548.zip
- Extract the downloaded zip file to a folder
- You will find blazeds.war file inside the extracted folder
- Extract the content from blazeds.war file so that we can useĀ the flex-rds-server.jar file
- Copy the flex-rds-server.jar file which will be found under WEB-INF/lib folder in blazeds.war to your web applications WEB-INF/lib folder
- Copy the Servlet URL mapping and declaration for the RDSDispatchServlet from the web.xml in the blazeds.war file and add to your web application web.xml file. Else copy it from below
<servlet>
<servlet-name>RDSDispatchServlet</servlet-name>
<display-name>RDSDispatchServlet</display-name>
<servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
<init-param>
<param-name>useAppserverSecurity</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet-mapping id=”RDS_DISPATCH_MAPPING”>
<servlet-name>RDSDispatchServlet</servlet-name>
<url-pattern>/CFIDE/main/ide.cfm</url-pattern>
</servlet-mapping>
Restart your server and start using Flash Builder 4 for your BlazeDS projects as explained in this URL http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-blazeds-remoting-service-using-flash-builder-4/
More articles on how to use Flash Builder 4 – http://sujitreddyg.wordpress.com/flash-builder-4/
Flash Builder 4 is awesome


June 1, 2009 at 5:52 pm
This is a really useful post dude… It will really enable people who are currently on the BlazeDS3 to take advantage of Flash Builder 4 until they migrate to BlazeDS4
Raghu
June 3, 2009 at 7:24 pm
He ask me for a RDS password login where i can find it ? thx
June 4, 2009 at 3:44 pm
Hi Tomulus,
Please set the useAppserverSecurity servlet init parameter of RDSDispatchServlet to false. I updated my post to reflect this
Restart your web server and try again.
Hope this helps.
June 4, 2009 at 5:27 pm
thx it’s work fine
September 10, 2009 at 7:16 am
If I were to start a FB4 Data-centeric development project with ColdFusion 8 today, what version of BlazeDS / LCDS should I use to take advantage of Flash Builder 4’s Data-Centric Development features?
Should I get BlazeDS 3 release built + the one jar file you outlined in this post?
Thanks.
September 10, 2009 at 7:24 am
BlazeDS 4 URL is broken.
September 10, 2009 at 7:29 am
File found, but are they what are needed?
http://opensource.adobe.com/svn/opensource/blazeds/trunk/lib/flex-rds-server.jar
and
http://opensource.adobe.com/svn/opensource/blazeds/trunk/apps/blazeds/WEB-INF/web.xml