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!


16 Comments
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
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?
Could we perhaps have the source code for the sample in a .zip, please?
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
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!
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
The refcard covers that. Are you having problems following it?
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
What is the problem?
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
That probably means there was a startup error. You need to check the Tomcat logs to see what happened.
Hi
I have a problem when connect to BlazeDS, RDS server message: connection establishment timed out. I choose option “No password required”.
Make sure you’ve uncommented the RDS servlet in the web.xml file and restarted Tomcat.
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?
The Flex code or the Java code?
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;)