Dynamically created remoting destinations with BlazeDS and Spring Annotations
In our current flex project we're using BlazeDs in combination with the Spring Framework to provide the middle tier infrastructure. As part of the requirements we need to be able to dynamically create flex remoting destinations, so rather than creating destinations manually inside the flex services config, we're using a handy little library written by Marcel Overdijk that enables you to mark your services as a @RemotingDestination. Using these annotations Spring will dynamically add your service class to the BlazeDS destination list. More detail about it can be found on the original blog post by Marcel.
The library is posted on the Adobe exchange. However, it's not current and Marcel has been having trouble getting Adobe to update it. The new version includes a fix that I contributed for an issue with proxied services. i.e. If a bean was already proxied, it wouldn't be recognised as a @RemotingDestination because the proxied bean didn't carry the annoation over. There are also a couple of other minor fixes in the new version,
While we're waiting for Adobe exchange to reflect the changes, I'm posting it here for anyone that needs to download it in the interum .
