• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

remove() for statefull beans (EJB 2.0)

Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Just an interesting question. "Good" clients of statefull session beans are supposed to call the beans' remove() method. But what to do if the client is also a bean? So the client runs a global transaction and the statefull session beans participate in the same transaction: their are created and do their job within the same transaction. Can the bean-client call remove()?
I tried in WebSphere and received
Can the bean-client remove statefull session beans? When? Where?

In other words, can a bean, which has participated in still running transaction be removed? If not, when the remove() should be called?

Thank you,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!