Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flex Datagrid with Spring

 
Booma Devi
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic