Standalone and Domain Profiles
The content of an individual profile configuration looks largely the same in domain.xml and standalone.xml. The only difference is standalone.xml is only allowed to have a single profile element (the profile the server will run), while domain.xml can have many profiles, each of which can be mapped to one or more groups of servers. The profile element in domain.xml also supports an tag which allows configuration reuse whereby several more complex profiles can include the contents of simpler profiles. The contents of individual subsystem configurations look exactly the same between domain.xml and standalone.xml.