Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Attribute responsibilty

 
Keith Rosenfield
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to page 617 of HF, the responsibilty of assigning transaction attributes for methods of a CMT bean belongs to the application assembler. The spec indicates that the bean provider can also have this responsibility. Section 17.4.1 of the spec states
Note: The transaction attributes may be specified either by the Bean Provider or by the Application
Assembler.

Why the discrepancy?
Thanks.
 
rahul V kumar
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Keith Rosenfield:
According to page 617 of HF, the responsibilty of assigning transaction attributes for methods of a CMT bean belongs to the application assembler. The spec indicates that the bean provider can also have this responsibility. Section 17.4.1 of the spec states

Why the discrepancy?
Thanks.

Beans can be Developed by both Application Assembler and Bean Provider. Hence the reason.
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy -- the Bean Provider *can* assign tx attributes, but it's really the final responsibility of the app assembler. Since the transactional behavior of a bean might be heavily dependent on the way in which that bean is being used in an app, the assembler is most likely to make the final decisions. But yes, the Bean Provider *can*... but it's more like a suggestion.
cheers,
Kathy
 
Dilli raj
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Bean Provider can provide the Tx Attributes. But the Application Assembler is the one that ensures that the Tx Attributes are present
[ February 06, 2004: Message edited by: Dilli raj ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic