• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful Bean Operations

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a business method be invoked in the afterCompletion method of sessionSynchronization?
 
Vinay Nath
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a very good question, i also would like to know...

I think you can call a method as long as its trans attribute is not_supported or never, coz the transaction got committed before afterCompletion was called.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65342
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Vinay", please check your private messages for an important administrative matter.
 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as per spec this is not possible. But as per enthuware, it does.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic