This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

IBM Test 158 - Question about transaction (JTA)

 
Hemanth Doma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I just began to read chapter on transaction in EJB1.1 spec. I have a basic doubt.
* When does the container commit() or rollback() the transaction? I mean how does it come to know when to do it?
regards,
Hemanth
 
Hemanth Doma
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Correction to the my last post. The question is with reference to the 'Container Managed Transaction'
regards,
Hemanth
 
Mohit Deshpande
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transction end when the method which started the transation ends successfully.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!