I've hacked some code together to support Cross-Origin Resource Sharing (CORS) which is newer replacement to JSONP (which we support with <binding.jsonp>) and i was wondering what the best place to put it is. I've tried in binding.http but that is a bit old now and hasn't really kept up with all the work in binding.rest, i've added it to binding.rest too but i don't really like the name REST in that binding and alll the old RPC function that it includes. So now i wondered if it was time for something new as we have talked about merging or replacing binding.http/binding.rest in the past so i wonder if it was time for something like a binding.jaxrs which has all the good new bits from binding.rest and http and then CORS could be supported with something like <binding.jaxrs enableCORS="true"> or maybe even have CORS enabled by default.
Comments or preferences? ...ant