Two session beans:
- same name
- implementing the same local interface (Animal) and declaring no other views
- deployed in two different modules, one module (A) is visible to the other (B).
When trying to inject Animal in the module B, once I get an instance of the first bean, next time an instance of the second one. The correct behavior would be DeploymentException due to ambiguous dependency.
- ejb.jar: Animal, Dog
- test.war: Bar, Cat