I am trying to POST to my cross domain *Rest service* via javascript, and realized that's not possible unless I use this specfication;
http://www.w3.org/wiki/CORS_Enabled
But there is very limited documentation how I can implement this, I have a few questions;
1- I use Glassfish Jee6 app server so can I simply add a jetty filter to my web.xml and job is done?
2- And for client side(mobile website), is there any javascript library which helps to implement this specification? Can I still use the existing ajax functions in JQuery or I need something more specific?