• 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

Transaction Doubt

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suppose I have a business method like this---

x()
{
//do some modification of this bean

//look up a home and call a home method which does some modifications of other beans

//do some other modification of this bean
}

Now if transaction attribute of x is marked Required, What will be the transaction attribute of the home method called. How can I define the transaction attribute of home methods?? and What will be the transaction attribute of ejbSelect && ejbFind methods? How do I define these attributes?

regards,
Sajid
 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have to specify the transaction attribute for the finder, select and home business methods in the deployment descriptor, similar to the way you define transaction attributes for the business methods of the bean.

Refer to this page on Frederic's site for more details.

Hope this clarifies your doubt.
 
reply
    Bookmark Topic Watch Topic
  • New Topic