Using Flash Builder 4 for earlier BlazeDS builds

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

  1. Download BlazeDS 4 build from this URL http://flexorg.wip3.adobe.com/blazeds/trunk/beta1/7548/blazeds-bin-4.0.0.7548.zip
  2. Extract the downloaded zip file to a folder
  3. You will find blazeds.war file inside the extracted folder
  4. Extract the content from blazeds.war file so that we can useĀ  the flex-rds-server.jar file
  5. 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
  6. 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 :)

7 Responses to “Using Flash Builder 4 for earlier BlazeDS builds”

  1. raghunathrao Says:

    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

  2. Tomulus Says:

    He ask me for a RDS password login where i can find it ? thx

  3. Sujit Reddy G Says:

    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.

  4. Tomulus Says:

    thx it’s work fine

  5. Henry Ho Says:

    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.

  6. Henry Ho Says:

    BlazeDS 4 URL is broken.

  7. Henry Ho Says:

    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

Leave a Reply