• 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'
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!