I had the chance to present at the Riveria JUG on Friday, I had one hour to cover a lot of materials. We discussed the Adobe Flash/Flex/AIR/RIA Enterprise Solutions, I also quickly demonstrated Flash Catalyst.

image:http://farm4.static.flickr.com/3569/3652893705_a23d9d1894.jpg?v=0

I also took a few minutes to demonstrate the latest spring-flex release through a simple CRUD application named spring-flex-todo. (Beware, the client side is not production ready)

I published this demo source code within the fna V2 project, under a LGPL V3 license :

You'll see how elegant and easy is the Spring-Flex remoting integration; here is for example how I set up a TodoItem CRUD Flex Remoting service

package com.adobe.ac.samples.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.adobe.ac.samples.dao.TodoItemDaoJpa;
import com.adobe.ac.samples.model.TodoItem;
import com.adobe.ac.samples.service.TodoService;

@Service("todoService")
@RemotingDestination(channels = { "channel-amf" })
@Transactional
public class TodoServiceImpl extends GenericManagerImpl<TodoItem, Integer>
    implements TodoService {

    @Autowired
    public TodoServiceImpl(TodoItemDaoJpa todoItemDao) {
        super(todoItemDao);
    }

}

Here are the slides associated with this demo: The Spring of Flex Remoting :

For those of you who don't like maven and would like to give this a try, I will provide a ANT version of the build as soon as one of sends it to me. What I except from any build is to :
  • be managing Dependencies
  • run the XUnit-Test
  • generate documentation and quality reports
So if you have a such Java/Flex ANT build, please contribute to fna V2.

Version 11.1 last modified by XWiki Admin on 23/06/2009 at 18:01

Comments 0

No comments for this document

Attachments 0

No attachments for this document
Networking


Creator: XWiki Admin on 2009/06/23 11:33
1.3.2.9174