aspose file tools*
The moose likes Spring and the fly likes Introducing Dependency Injection in an Application( RESTful WebSrvcs/FLEX) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Introducing Dependency Injection in an Application( RESTful WebSrvcs/FLEX)" Watch "Introducing Dependency Injection in an Application( RESTful WebSrvcs/FLEX)" New topic
Author

Introducing Dependency Injection in an Application( RESTful WebSrvcs/FLEX)

Nish Menon
Greenhorn

Joined: Feb 02, 2010
Posts: 9
I have a web application which employs Web services (RESTFul) for server side processing. The UI and additional logic is written in Flex .
The requirement is that the application should behave differently depending upon the server locale.

i have to introduce Spring dependency injection for accomplishing the same. I am fairly new to springs so Can anyone help me in understanding how the above requirement can be done?

Thanks in advance and please let me know if additional info is required.

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

It does sound like you need to learn Spring first to really understand what I am going to say and to integrate with Flex.

But Spring has a BlazeDS integration so that you can use Spring Beans as backing beans in a FLEX form. It is actually really easy, in that it is one entry in your Flex configuration. I remember seeing a 10 minute video online by doing a Google search.

I think it was this one
http://coenraets.org/blog/2009/02/spring-blazeds-integration-on-adobe-tv/

sorry it is an 8 minute 10 seconds video.

Good Luck

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Nish Menon
Greenhorn

Joined: Feb 02, 2010
Posts: 9
Thanks Mark. I will get hold of some Spring Tutorials asap.

Will give a lifesign when something comes up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Introducing Dependency Injection in an Application( RESTful WebSrvcs/FLEX)