posted 17 years ago
I actually don't have a good answer, have not worked with EJB3. It is certainly possible to configure multiple data sources and use one, or change the JNDI binding dynamically etc, depends on the container. I hope others may have definitive answer for you.
But what i am really interested to know is under what circumstances would you actually need to do this? Could you share that?
Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>