• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

ejbRemove in bean class

 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is probably a stupid question, but I just wanted some clarification. Does the ejbRemove() container callback in the actual bean class get called in response to any of the remove() methods? The two in the home class and the one in the component class?
Thanks
 
Bartender
Posts: 3788
40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can say that for
1. enity bean. client calls remove(), server calls ejbRemove()
2. stateFUL bean. client calls remove(), server calls ejbRemove()
3. statLESS bean. client calls remove(), server DOES NOT call ejbRemove().
server calls ejbRemove() on statless bean when it decides to reduce pool of "method-ready" pool.
I can be wrong.
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, yes all versions of remove() will have the same behavior, so whatever behavior happens (or does NOT happen -- as with stateLESS beans) when the client invokes remove() on the component interface will *also* happen if the client invokes one of the home remove() methods (assuming they invoke the appropriate one... in other words, assuming the client doesn't invoke remove(Object pk) on a session bean )
cheers,
kathy
 
Water! People swim in water! Even tiny ads swim in water:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic