users@glassfish.java.net

Re: Sharing a Connection between EJB's

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Oct 2007 14:17:21 PDT

you are absolutely correct. It just mean that I need to add a lot of conn.close() statements to my code (because of a move from old framework to EJB3). As for now it is good enough for me. But it can be nice to have a "right" way to make sure that one specific connection object is used with EJB calls without relaying on transactions. This could make my life easier converting my old application to EJB3.

thanks,
Ron
[Message sent by forum member 'rong999' (rong999)]

http://forums.java.net/jive/thread.jspa?messageID=241572