• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Doubt

 
Sajid Moinuddin
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Ankit Doshi
Ranch Hand
Posts: 222
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic