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

PreDestroy interceptor method and transactional context

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to p.76 of JSR 318, why PreDestroy lifecyle callback interceptor methods for stateless/stateful bean execute in an unspecified transactional context while the PreDestroy method for singleton execute in a transactional context determined by the bean's transaction management type (container/bean managed) and transaction attribute( REQUIRE, REQUIRE_NEW, NEVER and etc) ?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic