• 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Is There any default trans-attribute value for a CMT Bean?

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is There any default trans-attribute for a CMT Bean if trans-attribute somehow not specified? What happen if that happen? What kind of error or exception the bean or client will receive?
[ April 18, 2004: Message edited by: Alibabra Sanjie ]
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alibabra,
Transaction attributes must be specified by the time it is deployed! (The spec says). Now that's about of the way: some containers may be more lenient. I know that when I deploy stuff in JBoss 3.2.3, it doesn't complain when I don't have any specified. I'm sure it assigns some default, but that's on a server-specific level. I'm supposed to have done it by the time I drop it in the deploy directory.
As far as the EJB spec is concerned though--there's no default. It's a mandatory portion of the deployment descriptors by the time it's deployed. (Officially, it's the job of the "Deployer" role to make sure that all methods the client can invoke have transaction attributes in the DD).
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For WebSphere default is "Required"
 
It sure was nice of your sister to lend us her car. Let's show our appreciation by sharing this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic