Filip, Dan, everyone who responded to me!

Thanks a lot, guys for your time and knowledge.

Best regards,


Alexander Kogan wrote:
> 
> Hello,
> 
> I've been trying to follow this interesting discussion, but
> now I'm lost. Let me explain my confusion:
> 
> Usually in my BMP business methods I obtain a connection,
> create prepared statements and close statements and the connection
> at the very end of the method (assuming that jboss is caching
> the connection and statements).
> 
> Is that the right pattern?
> 
> If not, should I open a connection in ejbCreate/ejbPostCreate/ejbActivate
> and close it in ejbRemove/ejbPassivate? Will it speed up the things?
> 
> Thanks in advance for any advice.
> 
> Alex.

-- 
__________________________________________________
Alexander Kogan  PTC   www.ptc.com
[EMAIL PROTECTED]    140 Kendrick St. Needham MA 02494

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to