try to inject with webapp context before app one, for war it shouldn't change anything and for ear it should match arquillian case a bit more - still not perfect though