# note that driver-name could be driver's module name if you went module approach.
/subsystem=datasources/jdbc-driver=oracle:add(driver-name=oracle,driver-module-name=com.oracle,driver-class-name="${db.driver}")

/subsystem=datasources/data-source=oracleDS:add(jndi-name="${db.jndi_name}",  driver-name=oracle,  connection-url="${db.url}", user-name="${db.user}", password="${db.password}", enabled=true, use-java-context=true )



## If you are working in a clustered environment, prepend "/profile=ha" to all the above commands that start with "/subsystem=.." 