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

Method access

 
philip johnson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus
I did not understand the folowing logic.
For statefull sessionbean in the ejbcreate method you can access all methods except transaction realtes methods.
But in aferCompletion() you cannot access transcation related methods and no resource manager and no acces to other beans.
Could some one explain this behaviour
Thanks
Philip
 
philip johnson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
I will explain my question,
In the ejbcreate() you cannot access transactios , but you can access resource manager and other beans method.
but in aferCompletion() you dont have a valid transaction so you cannot access resource manager and other beans methods.
I did not understand this, if you dont have a valid transaction you could not acces resource manager and other beans in both place. why you can in one place and not in othe place.
This thing I want ot get calrified.
Please help.
Thanks
Philip
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic