title: GlassFish: How to set Access-Control-Allow-Origin header
body: <p>I am using the latest version of GlassFish. I want to set the Access-Control-Allow-Origin header in response so that my API which is hosted on GlassFish can be called from any domain. But I am not able to find out where to set it.</p>