Win a copy of AWS Security this week in the Cloud/Virtualization 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

transaction attributes

Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets saya bean method method1 invokes another bean method method2 of same bean.

Q1) Can I assume that both methods will execute under transaction attributes of method1 irrespective of transaction attributes of method2 as long as method2 is not invoked on a ejbobject (like a bean client) but directly invoked like some method of some class invoking another submethod?

Q2) Also can I assume method1 invoking method2 on a ejbobject and not directly will only be possible with entity beans where re-entrance is allowed?
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please I didn't clear what you mention..
Please explain it little clear i answer for you later
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as your first question is concerned answers is NO. It depends on which transaction attribute is set for method2. Your assumption will only be valid if it is set either Required or Mandatory or Supports .
Can you please elaborate your second question?
Do not set lab on fire. Or this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic