1 person found this helpful
I think it is certainly realistic. I create complete SOA, OSB,etc. domains from scratch. See for instance https://blog.darwin-it.nl/2016/06/scripted-domain-creation-for-soabpm-osb.html for some ideas.
By the way, extension of domain using readTemplate() is deprecated, it is replaced by selectTemplate() or selectCustomtemplate(). For instance, selectCustomTemplate('/app/work/templates/AAMedRecDomain.jar') and then loadTemplates(). This might fail, when the template contains a nodemanger-config.xml file.This can be solved by removing that file from the jar file. See also: https://docs.oracle.com/middleware/1221/wls/WLSTG/domains.htm#WLSTG156