Are there any configs currently like the ones for apache and tomcat? If not why cant there be?
Do you have a pointer to a JBOSS config that has worked for you?
no I've been using the http://software.dzhuvinov.com/cors-filter-configuration.html myself . Is there no better alternative to handle this in server configs?
We link to that library from here: http://enable-cors.org/resources.html
I am not familiar enough with JBoss to write a configuration. We rely on community submissions to maintain our recommendations across server and language types. If you know of a good code sample, feel free to share it or send a pull request. Thanks!