anonymous wrote : I want my MDBs to share a single instance of the datasource.
It does, if you're getting it from JNDI. They're the same object. Note that since connections from the datasources are pooled, even if you have multiple datasource member variables, your application may only need one or two physical connections. I wouldn't worry about it. Your code is correct. Just be sure to always close your connection when done. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885606#3885606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885606 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
