As of yet, I have not heard of any security or performance reasons for not allowing this. A few years ago, we discussed this on the as-dev mailing list. It is theoretically possible but the result would be an extension that is not part of the EE standard.
If you or anyone else is seriously interested in contributing a code change to allow this. There will be a learning curve that will start with solving other issues first. I had a volunteer once before for doing this change but we didn't properly address the learning curve part (by having them work on easier jiras first). I understand that you probably have limited time to spend on something like this but, what do you want to see in the long run? Your application using a feature like your looking for? Or a change to your application.
i would be glad to help, since in my country jboss/wildfly is used widely and it would be beneficial to me if i can understand how things works. I would also be able to create other application using the design that i have now. I'm a beginner in java EE though, but i'm no stranger to java programming itself. how do i begin?
Some initial steps:
- Read https://developer.jboss.org/wiki/HackingOnWildFly and get starting building WildFly from your local git repo after following the steps
- Get your IDE to load the WildFly project that you setup in step 1 (Intellij works well if your using that).
We can help you find an issue in https://issues.jboss.org/browse/WFLY.