Cross-origin resource sharing support for Java EE 7 / JAX-RS 2.0 is released.The following dependency in a WAR will install and setup the CORS extension automatically:
<dependency> <groupId>com.airhacks</groupId> <artifactId>jaxrs-cors</artifactId> <version>0.0.1</version> <scope>compile</scope> </dependency>
CORS is opensource and Apache licensed: https://github.com/AdamBien/cors
Web Apps, SPA, PWA with vanilla Java Script (ES 6+), CSS 3 and WebStandards only. As simple as possible, but not simpler. See you at: (Progressive) Web apps, Single Page Apps and WebStandards airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.