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

Want Help on IBM 158 exam

 
Sachin Kansal
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! All,
Plz answer the following question.
The following sequence of method calls occurred on a CMP entity bean instance when its business methods method1 and method2 were invoked from the same method of a Session bean, which has initiated a transaction.
entityBean.ejbActivate()
entityBean.ejbLoad()
entityBean.method1()
entityBean.ejbStore()
entityBean.ejbPassivate()
entityBean.ejbActivate()
entityBean.ejbLoad()
entityBean.method2()
entityBean.ejbStore()
entityBean.ejbPassivate()
Which of the following MUST be true about the bean?
-The business methods are configured with a transaction attribute of 'Required New'
-method1 and method2 are in the same transaction scope
-method1 and method2 are in different transaction scope
-The business methods are NOT configured with a transaction attribute of 'Requires New'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic