• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Default Transaction Attribute in case of a EJB 2 and Weblogic 11

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

Please let me know what is the default Transaction Attribute that is set for a Method.

While going through net i found this :

There is no default transaction attribute for an EJB , as per Section 11.5 of EJB v1.1.

But i also heard that

1 .In weblogic, the default transaction attribute for EJB is SUPPORTS.
2. Weblogic 6.1 has Required by default

Please tell me what is correct ??

Thanks in advance .

 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does the Weblogic 6.1 documentation say? Any reason you don't just define the attribute you need to avoid any confusion?

Later versions of the specification do state there is a default transaction attribute (of REQUIRED). Can't remember what EJB 1.1 says (if it says anything).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic