I'm trying to develop a stateless EJB.
The use of EntityManager is managed via container with @PersistentContext annotation.
The question is wheter there is a way to access, to staeless ejb from servlet via InitialContex.lookup method, to multiple PersistentContext of ejb stateless.
In this way I could use the same code with different datasource.
I have several companies that run the same code but use different databases istance.
Retrieving data ...