Yes the EJB is separated from the WAR (in an EAR). Unfortunately I cannot test on JBoss EAP 6 as I don't have this version. Thank you.