I have a Stateless Session Bean which I use in 2 different Modules of the same Application. Thus the code is identical, but in each Module it is declared by a different name and with a different Environment. Both show up in JNDI, each with its own and correct environment. But using them I will always only get one Environment, the first declared one. It seams there is really only one bean, thus only one Environment is used.
Has anybody else seen this Problem? Has Anyone reused a Bean in the same Projekt and had really two DIFFERENT (at least in JNDI) Proxies for it?