What is Transaction attribute?

Answers were Sorted based on User's Feedback



What is Transaction attribute?..

Answer / uma

but in EJB 3, we have 5 transaction attributes
Required
RequiresNew
Supports
Never
Mandatory
u can go through any EJB book for the details.
the transaction attributes are a way to restrict the beans
in the transactions

Is This Answer Correct ?    3 Yes 0 No

What is Transaction attribute?..

Answer / 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

What is Transaction attribute?..

Answer / hardeep kumar

Required
RequiresNew
Supports
NotSupported
Never
Mamdatory

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More EJB Interview Questions

Why is ftp stateful?

0 Answers  


What is the difference between @requestparam and @pathvariable?

0 Answers  


What is activemq used for?

0 Answers  


How EJB component can in interact with COM/DCOM components?

1 Answers  


What is an entity and its types?

0 Answers  






In bean managed transactions, how session bean can be configured?

1 Answers  


Write down the steps for the creation of stateless ejb.

0 Answers  


how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?

0 Answers   Infosys,


What is ejb in weblogic?

0 Answers  


What is @resource in java?

0 Answers  


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

0 Answers  


What is the major difference SessionBean and EntityBean?

3 Answers   KPIT, Wipro,


Categories