• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question reg ejbRemove()

 
B.Sathish
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When the client calls remove on a stateful bean and if the bean is passivated, what will happen? Will the bean be activated, ejbRemove() method called and then killed or directly killed from passivated state without activating and calling ejbRemove(). Is this a scenario where the ejbRemove() is missed?
 
Ramakrishnan Viswanathan
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The bean will be activated first and then ejbRemove() will be called. Please refer to Kathy's reply in this thread

invoking the remove() method on passivated stateful session bean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic