Who is responsible for providing the <trans-attribute> in DD for a CMT ? A) Bean Provider B) Application Assembler c) Deployer
The spec is not clear:
Providing the transaction attributes for an enterprise bean is an optional requirement for the Application Assembler, because, for a given enterprise bean, the Application Assembler must either specify a value of the transaction attribute for all the methods for which a transaction attribute must be specified, or the Assembler must specify none. If the transaction attributes are not specified for the methods of an enterprise bean, the Deployer will have to specify them.
But accoring to valentine's deployment desciptor sheet, it is the responsibilty of the deployer. Is it correct ?
In my view it is Application Assembler's responsibility.
In my cheat, you have to see the colors as overlapping. For instance, the container-transaction elements can be specified by the application assembler (because the elements are within a yellow area), but they can be overridden or simpley specified by the Deployer as well (because the elements are within a pink area).