• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

transaction attributes for stateful session beans

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
is the following statement true? i read it somewhere, and does not seem toberigt so, i am just trying to clarfy?
stateful session beans with CMT,which are trying to implemet sesion synchronization can have only following transaction attributes
required, requiresNew, mandatory.
the explanation given was stating its due to the reason that the transactional context is required to call thse methods.

but is it possible that some business methods can be in unsupported transactional context and rest in one of the other three??

i really appreciate ur time
thanks
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if the business method has no transaction context then simply the sessionsynchronization interface methods are not called...
so,for the interface methods to be invoked, the business methods should have transaction...
 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic