No need for profiles in datasource config
Had a look at the code for your app. Looks promising.
Just a quick note. In README, you mention that because you want to deploy on CloudFoundry, you use profiles and cloud:datasource
While this WILL work, you actually don't need that if you only have one DataSource in your app. CloudFoundry has a feature called auto-reconfiguration that allows you to deploy your "standard" app unchanged and it will bind the cloud datasource for you.
Have a look at http://blog.springsource.org/2011/11/04/using-cloud-foundry-services-with-spring-part-2-auto-reconfiguration/
I'm not saying this is a bug in your app, but because it aims at being a tutorial, I guess it should showcase the simplest case.
Bonne chance, Eric
Hi,
Thanks for your explanation, I didn't know about this feature.
The readme is running old because it's about the first version (master branch) of the application that i'm updating with new technologies (Spring Data Rest and Backbone for the most importants in backbone branch). I will try to change the readme in the branch.
In this new branch, there is no more Spring XML configuration but this should still works so I will try it.
Matthieu
Great. I am a dev advocate for CloudFoundry, so don't hesitate to ask questions if you need anything. We could have met, but I understand you're in Lyon (I'm in Paris)
@ebottard on twitter