Jason Sheedy's blog

Let me tell you a story about the time I was a software engineer ...

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 .

 

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
any chance about a having a project hosted on sourceforge or google code for this and a release on a maven repository for easy inclusion in projects?
# Posted By magomarcelo | 8/28/08 5:02 AM
You'll have to contact Marcel about this. As my blog says, it is posted on Adobe Exchange, but I'm not sure of the status on there.
# Posted By jason | 8/28/08 3:16 PM