Datasources outside from standalone.xml

Version 1

    Hi Guys,

     

    on Tomcat it's a nice hack to use xml includes to separate datasource from application configuration.

     

    Example:

    <xml ...>
    <!ENTITY datasources SYSTEM "path/datasources.xml">
    [...]
    &datasources;
    

     

    What is the best practise in Wildfly 10 for this use case?

     

    Regards, Lenny