What is Transaction attribute?

Answer Posted / vaibhav

Transaction attribute is specified in the XML configuration
file of the EJb and is used to specify the function calls
that has to made in the context of a transaction. A new
transaction can be started with the mentioned function call
or some function can be called only if some transactions is
already started. It is useful in database updations context
when more than one instances of the EJb updates the
database at the same time.
Some standard paramaters are:

RequiresNew
NoTransaction

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by in-memory replication?

621


Why is ejb needed?

510


What is ejb in weblogic?

558


Can EJB made to handle multiple transactions?

609


What is the difference between ejbcreate() and ejbpostcreate?

538






What is EJB server provider?

584


How many ejb objects are created for a bean?

549


How can one EJB be called from within another EJB?

523


What’s the difference between hibernate and ejb 3?

551


How to increase ejb transaction timeout in weblogic?

550


Explain the concept of local interfaces?

538


What are the key benefits of the ejb technology?

612


How to import ejb project in eclipse?

581


What is pub/sub model?

516


Why is ejb used?

512