Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support variable substitution in deployment descriptors and annotations #3963
Glassfish and payara allow for variables to be specified in deployment descriptors and annotation equivilents. This is documented here
This is non-portable if used, but it does mean that you can override the configuration at deployment time. In Liberty this is done by doing an override of the deployment descriptor in server.xml, but allowing variable substitution would be an alternative that might be simpler, especially in fat jar or docker deployment scenarios.
On a call this was discussed and it was agreed this seemed like a good idea with the following observations: