Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Meaningful Transaction Context

 
Balaji Anand
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it mean by the term "Meaningful Transaction Context".

When i check the details of SessionBean and EntityBean methods i find terms like
"No Transaction Context" "Unspecified Transaction Context" " transaction context of the remove operation" and " transaction context determined by the value of the transaction attribute in the deployment descriptor"

I would like to know more abt it

Thanks
 
Ramakrishnan Viswanathan
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The bean can get/perform useful txn related information from EJBContext or UserTransaction. When you say 'meaningful', it means that there should be a transaction context in force.

If you are reading HFEJB following the same sequence of chapters given in the book, you will notice that the first 7-8 chapters will have terms related to 'transactions', 'security', 'bean's special environment' etc. These terms may be unclear in the beginning but the last 4 chapters deal with all of these in great detail. When you get to/complete these chapters, you can go back to get a better understanding of things that were not very apparent the first time you read 'em.
 
Balaji Anand
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for ur reply. yes i am using HFEJB. i will read the full book and get back to these chapters again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic