HomeAbout Mark van HedelContact Mark van Hedel



Connecting AIR with BlazeDS and Spring

Last week I've shown you how to connect a Flex application to a java Spring application using BlazeDS. As you might have read everywhere changing your Flex web application to an Air client side application is very easy. So let's take our Flex application that is connecting to our Spring application using BlazeDS and change it to an AIR application working exactly the same. I'm using the sources here that were created in the posts BlazeDS and Spring First what we need to do is create a new AIR project in Flex, so let's start with creating a new Flex project and on the first page of the wizard there change the setting to Desktop Application.

[More]

Blaze DS and Spring :: Part 4

Let's do the last part of our demo, this is the Flex part on the client that we want connected. First we finish the application with our logon, we logged on, and sent our username to the server, so now all we need to do is subscribe to receive tasks from the other Flex client. To do this we add a consumer tag to our code and subscribe to messages on the server.

[More]

Blaze DS and Spring :: Part 3

Let's continue with our application setup. Now this part of the Java application is done, we can continue with the rest of the application. First let's continue with adding our settings to Blaze DS so we can make our communication work, after that we'll start with the Flex part and get the entire application working. Our Spring and Hibernate part is done already so as soon as we have the rest connected this should be working.

[More]

Blaze DS and Spring :: Part 2

Ok let's continue, now let's see what we want to send over the line, for our application, first when a user fills in it's username we'll send a string to the server containing this username. Since we don't want to use with strings, the next thing we are going to do is find a user object on the server and send this back to the client to tell the client that this user is connected. Last thing in the demo we want to send over the line now is a task object as soon as that is created so it can be shown at the task list of the user.

[More]

Blaze DS and Spring :: Part 1

As promised yesterday during my J-Spring session I would post the code of the demo application online. Since it was a long day yesterday and I've been training all day today I couldn't find the time to do it before now, so sorry for the delay. Let's start first with what you need to get started. First let's start with getting Blaze Ds from the Adobe site. After that it might help to have FlexBuilder or just the Flex SDK to compile the application at the end.

[More]

J-Spring

In about 2 weeks I'm speaking at the Dutch Java Community conference J-Spring. There I'll do a story about connecting Java with Flex using Blaze DS, this mostly to stay in the open source world and give Java developers information about how to connect to FLEX and work with FLEX. The presentation slides will be posted here after the presentation

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner