• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJBObject.remove() for Stateless session bean

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

What will happen if u call remove() on statless session bean? In container, an association between EJBObject and bean(in pool) happens only when client calls business method.So, if client directly call remove(), which bean will be removed?

Thanks,
Prashant
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Prashant Neginahal:
Hi All,

What will happen if u call remove() on statless session bean? In container, an association between EJBObject and bean(in pool) happens only when client calls business method.So, if client directly call remove(), which bean will be removed?

Thanks,
Prashant



This question had been asked & answered before. For stateless session beans, the clients have no say over the removal of the beans. For a detailed explanation, do a quick search on the forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic