Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Want Help on IBM 158 exam

 
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'
 
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!