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

Enlist the CallBack methods of Session Bean?

566


What is stateless ejb?

529


Differentiate Conversational from Non-conversational interactions?

545


What do you mean by ejb?

553


Is is possible for an ejb client to marshal an object of class java.lang.class to an ejb?

530






How does ejb invocation happens?

554


What is stateless programming?

601


What do you mean by in-memory replication?

619


What is EJB server provider?

581


How to increase ejb transaction timeout in weblogic?

550


Enlist the contents of Container.

584


Explain the architectural relationship between JavaBeans and JTA?

2392


what is mean by OLE ? Please answer me. Advance thanks.

2162


What is ejb javatpoint?

572


What is difference between ejb 1.1 and ejb 2.0?

571