Hi, 
  I have a stateless session bean which will use the java:/JmsXA to obtain 
connectionFactory, connection and session. The method transaction is container 
managed.  When should I release these resource?
If I release the resource before the method return, the JMS transaction (which is 
within the session) is managed by container and has not commited yet. Will this 
resource release before methor return  cause the transation roll back? If I do not 
release resource before the method return, I will not have a reference to them and can 
not release them anymore.
Advice and suggestion are really appreciated!

jason


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822177#3822177

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822177


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to