Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

responsibilities of the application assembler

 
Venkatesh Kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
This is the qt from ejbcertificate.com
Which of the following statements are correct regarding the responsibilities of the application assembler?
One of the given answers is :
The application assembler declares required transactional behaviour of enterprise beans in the deployment descriptor, that use container managed transactional demarcation
What I conclude from the answer is that the appl assembler sets the transaction attributes for the methods using CMT .It is a deployers job to set transaction attributes for the methods.
I think the above answer is wrong .Pl correct if I am wrong .
Thanks
 
MaxPwr Pow
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty sure it is the application assembler's job to set the transaction attributes of methods, not the deployers'. In addition(don't want to make you confuse), the bean provider MAY do it too.
 
Walker Rustin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
INESystem says it's the responsibility of deployer. I franktly think the exam should not ask these questions. The exam should restrict itself to conceptual questions only.
- walker rustin
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB2.0 spec, p:351, sec 17.4.1

Note: The transaction attributes may be specified either by the Bean Provider or by the Application Assembler.
............................................
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.

IMO, Setting the transaction attributes needs an understanding of the application and the purpose of the various methods of the beans. So it is either the bean provider or the application assembler, preferably the bean provider. In case both the roles miss it, for whatever unknown reason ,
the Deployer has to make sure that they are set to avoid deployment errors.
In practical EJB projects it is usually the bean provider who sets the transaction attributes, as the application provider role doesn't exist.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic