Also note that this is a non-portable behavior, see also "12.1. Bean archives":
If a bean class is deployed in two different bean archives, non-portable behavior results. Portable applications must deploy each bean class in no more than one bean archive.
|