• 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
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

session synchronziation

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi paul,
Stateful session bean is allowed to implement SessionSynchronization method but Stateless Session bean is not allowed! why?
Stateless session bean can also be a part of transaction , i.e a transaction started by stateful session is propagated to stateless session when a method is called in a transaction or else we can specify to start new transaction everytime a method is called...

that's why it's unclear to me as of why the stateless session bean is not allowed to implement the session synchronization...

thank you in advance...
Praveen
[ July 26, 2005: Message edited by: Praveen Kumar Mathaley ]
 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stateful Bean can update the state value for integrity,but Stateless Bean has no state need to update.
 
Skool. Stay in. Smartness. Tiny ad:
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
reply
    Bookmark Topic Watch Topic
  • New Topic