Thank you Hallett, but the question remains the same.
I know this is a bit confusing because of the names.
JBoss EAP 6 is architecturally similar to JBoss 7 AS.
JBoss EAP 7 is architecturally similar to Wildfly 9/10.
i.e.
JBoss EAP 6 has a built-in Tomcat engine for web profile.
JBoss EAP 7 uses Undertow instead. Which is completely different.
Datasource MBeans and statistics are slightly different between EAP 6 an 7.