File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Transaction Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Transaction Doubt" Watch "Transaction Doubt" New topic
Author

Transaction Doubt

Sajid Moinuddin
Ranch Hand

Joined: Mar 19, 2005
Posts: 85
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

Joined: Dec 04, 2002
Posts: 222
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
 
subject: Transaction Doubt