transaction « Bean « JSP-Servlet Q&A





1. JTA TRANSACTION-BEAN MANAGED TRNSACTION, NO ROLLBACK    coderanch.com

hi All, I have a stateless session bean, with bean managed transaction. the code is like this... doTask() { try { utx=getUserTransaction(); utx.begin(); method1(); //in this i am updating few table in DB -DB connection is taken in the same method and closed there method2(); // calling a stored procedure to do smthing etc method3(); //update smthing else utx.commit(); }catch(Exception y) ...

4. Transaction support of Session Beans    coderanch.com

5. J2EE transactions - stateless beans (CMT)    coderanch.com

Hi All, Background ---------------------- We have a back end job that is calling a Stateless EJB (service) to process a list of entries (in an excel file). Each entry in the file represent a set of tables in the DB. Hence a record would comprise of data that would be stored in, say, 6 tables. This is basically an entry for ...

6. About updating a entity bean within a transaction    coderanch.com

Hi Guys, my query is about transaction level caching for ejbs in a weblogic server. In "transaction level caching" persistent data of an entitybean is loaded only once at the start of transaction and the requests after that entity bean we will get the cached info but not the actual persistent data from database. can i update the cached entity bean ...

7. What is transaction state of stateless session bean?    coderanch.com

I don't really know what is the question about... Do you want to know what are possible transaction states values in SLSB, if it's possible to make transactions in SLSB, or.... Provide some more and more accurate information, as it seems a bit ambiguous for me... Edit: Oh snap, Jaikiran, you were almost 20 seconds faster than me ;-)

9. Stateless Session Bean without transactions    coderanch.com

What Pedro said is true, But there are some cases where it could lead to performance bottle neck, like distributed transaction and remote objects. I've heard once that great companies like Google does not use distributed transaction because of this, that they use transactions just at low-level granularity (to ensure small chunks to be executed together). I really don't know and ...