question: as override.jar has it 's own pu with the same name as the ear level pu then the local pu should be used concode_field_sep InitialContext iniCtx concode_field_sep void testUsingEarLibPuInSubdeployment concode_elem_sep void testUserOfOveriddenSubDeploymentUsingExplicitPath concode_elem_sep Archive<?> deploy concode_elem_sep void validate
target: void function ( ) { OrganisationBean loc0 = ( OrganisationBean ) iniCtx . lookup ( "srini_string" ) ; validate ( loc0 . getEntityManagerFactory ( ) , Organisation . class , Employee . class ) ; validate ( loc0 . getDefaultEntityManagerFactory ( ) , Organisation . class , Employee . class ) ; }