I have some entity beans that I wish to deploy twice, each time on a different datasource.
Everything else about the bean (well, save the JNDI name) would be different. I'm also not 100% sure how I'd handle interconnections (such as when one bean has to look up another), but I imagine this must be possible. Can anybody briefly explain it? Do I deploy the beans in one package, and then different jbosscmp files for each of the datasources? Is it easy/possible to do this with Xdoclet, or am I down to manually hacking?