This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex Datagrid with Spring " Watch "Flex Datagrid with Spring " New topic
Author

Flex Datagrid with Spring

Booma Devi
Ranch Hand

Joined: Nov 02, 2011
Posts: 61
Hi,

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


 
wood burning stoves
 
subject: Flex Datagrid with Spring