Hi Guyz ,,
I need a advice from you .
Is it a good practice to handle JDBC transactions in a StatelessSessionBean ?
I have a SattelessSessionBean in which I create a JDBC connection object . abd close that connectionobject in ejbRemove.
In the bean i need to do some inserts and deletes using sql queries . all these operations should be in a transaction .
So if I do begin tran and commit tran on the connection will it be safe ?
I remember , i read some where that ..StatelessSession beans will be reused b/w multiple clients . If that is the case then my transaction will not work . But I am not very sure abt this . Can any one please let me know abt this ?
Thanks for ur help