I've seem to have read the Spring/Blaze integration document about 10 times, but I can't figure out where to put all of my <flex:remoting-destination ref="yaddayaddaService" /> tags. I don't want to use annotation to define these remoting destinations.
Should it go into the Spring configuration file I use for the AMF endpoint servlet (as specified by its contextConfigLocation parameter). Or do these go in a high level cross-servlet configuration file?
Whats the usual way to treat these?
The convention is to declare:
1. Declare the Spring beans (e.g yaddayaddaService) in files specified by contextConfigLocation parameter.
2. Add the Spring - Flex specific configuration (configure message broker, declare destinations) in <webapp_dir>WEB-INF\flex-servlet.xml, assuming you configured the Message Broker URL pattern as follows in web.xml:
The BlazeDS SVN depot/distribution contains spring sample webapp (spring-samples.war) that you can look at as well.
Hope that helps.
Thanks a lot Rohit -- that is a huge help.