Download the Flex and Spring Integration Refcard

DZone has just published a new Refcard “Flex & Spring Integration” written by Jon Rose and me. This is the second Refcard I’ve written. The first was “Very First Steps in Flex,” which was a few chapters from First Steps in Flex written by Bruce Eckel and me. Working on the Flex & Spring Integration Refcard was fun because I was able to learn more about the new Spring BlazeDS Integration project from SpringSource. I’ve been really impressed with how easy it is to integrate Flex and Spring together. Another great resource for learning how to integrate Flex and Spring is Christophe Coenraets’ Spring BlazeDS Integration Test Drive. It contains a bunch of great examples that will help you better understand how to get everything set up and working.

Let me know what you think about the Refcard. I hope it’s useful for you!

This entry was posted in BlazeDS, Flex, Spring. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

16 Comments

  1. Posted April 6, 2009 at 9:35 am | Permalink

    that’s awesome James :)

    did you know that Comtaste became Spring Authorised Partner in Italy ? We’ve started delivering and proposing official Spring courses in our country !

    Thanks for your timehope to talk to you soon,
    ciao

  2. Josef van Niekerk
    Posted June 16, 2009 at 2:27 pm | Permalink

    I’m trying out your refcard, but I keep on getting the following error: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost:8080/blazeds/spring/messagebroker/amf'"]. After I imported the blazeds.war file, my project context was set to blazeds, so I only changed the context in the .mxml file. I’m able to access the main.swf via the browser on http://localhost:8080/blazeds/main.html, that works fine? When I paste http://localhost:8080/blazeds/spring/messagebroker/amf in my browser I get Tomcat telling me: 404 – Servlet Spring MVC Dispatcher Servlet is not available?

  3. Josef van Niekerk
    Posted June 16, 2009 at 2:33 pm | Permalink

    Could we perhaps have the source code for the sample in a .zip, please?

  4. Posted June 16, 2009 at 5:20 pm | Permalink

    Hi Josef,

    Thanks for reporting the problem. It appears the servlet isn’t loading. Are you getting any errors in Tomcat’s logs? The refcard was kinda based on Christophe’s test drive. Have you tried the test drive?

    -James

  5. Josef van Niekerk
    Posted June 17, 2009 at 12:32 pm | Permalink

    Happy days! I’ve found the problem. Everything is working perfect. What I did was include all the libraries from the test drive, and problem fixed. Thanks for the Refcard once again!

  6. duong thach
    Posted August 7, 2009 at 2:01 am | Permalink

    i have configured BlazeDS 3.2 + Spring 3.0.0.M3(latest) + MySQL 5 –> working . Now i want to config Hibernate 3.3.2(latest) to work with them, can u help me

    • Posted June 22, 2010 at 11:46 am | Permalink

      The refcard covers that. Are you having problems following it?

  7. victor azuara
    Posted June 22, 2010 at 4:21 am | Permalink

    hi
    i follow the redcardz #102 flex4 & spring 3 integration, it is great, thank you for share your knowledge, so i have a question, i tried to test in exnternal tomcat server, can you help me

    • Posted June 22, 2010 at 11:45 am | Permalink

      What is the problem?

      • victor azuara
        Posted June 22, 2010 at 9:28 pm | Permalink

        i want to export the full project (server side and client side – flex project) in a war file to deploy in a production server with tomcat server, i tried but when try to check in the server i say a 404

        • Posted June 24, 2010 at 3:46 am | Permalink

          That probably means there was a startup error. You need to check the Tomcat logs to see what happened.

  8. Doku
    Posted July 9, 2010 at 3:04 am | Permalink

    Hi
    I have a problem when connect to BlazeDS, RDS server message: connection establishment timed out. I choose option “No password required”.

    • Posted July 9, 2010 at 6:05 am | Permalink

      Make sure you’ve uncommented the RDS servlet in the web.xml file and restarted Tomcat.

  9. Jacek
    Posted August 9, 2010 at 4:09 am | Permalink

    Hi
    I have imported complete project from zip, but when I try to make change in sourcecode, nothing happens. Old stuff is loading in the browser. What should I do?

    • Posted August 16, 2010 at 11:05 am | Permalink

      The Flex code or the Java code?

      • Jacek
        Posted August 16, 2010 at 12:30 pm | Permalink

        Forgot to mention, my bad. Flex code. Problem solved anyway, had to update few paths in project and change locale parameter in Flex compiler tab in FB4. Everything works just perfect now;)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Subscribe without commenting