File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Flex and the fly likes Flex Datagrid with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex Datagrid with Spring " Watch "Flex Datagrid with Spring " New topic

Flex Datagrid with Spring

Booma Devi
Ranch Hand

Joined: Nov 02, 2011
Posts: 61

I am just providing the basic code using flex 3 with spring... It may be helpful for beginners in flex and spring..

I have created the dynamic web project with the name as Flex Samples Server. Put all the spring related jars in the lib folder under the WEB-INF.

In Server Side (web.xml)

<?xml version="1.0" encoding="UTF-8"?>

services-config.xml (\WEB-INF\flex(create folder with name flex )\services-config.xml)

application-config.xml (\WEB-INF\application-config.xml)

Getter and setter

service class

service implementation

package com.samples.server;

import java.util.ArrayList;
import java.util.List;

Flex Side ( I have created a flex project with the name as Flex Samples Client)

Flex side Properties set up:

Root Folder====>C:\Data\apache-tomcat-6.0.20\wtpwebapps\Flex Samples Server

Root URL ======> http://localhost:8080/Flex_Samples_Server/ ( you will get this URL after running the tomcat server)

Context Root =====>/Flex_Samples_Server

I agree. Here's the link:
subject: Flex Datagrid with Spring
It's not a secret anymore!