CORS Support For JAX-RS 2.0 / JavaEE 7
#Usage
For CORS support activation add the following dependency to your Java EE 7 project. No further configuration is needed:
<dependency>
<groupId>com.airhacks</groupId>
<artifactId>jaxrs-cors</artifactId>
<version>0.0.1</version>
<scope>compile</scope>
</dependency>