What is Transaction attribute?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / hardeep kumar
Required
RequiresNew
Supports
NotSupported
Never
Mamdatory
| Is This Answer Correct ? | 1 Yes | 0 No |
What are ejb containers?
Transaction Attributes? What is the use of ?RequiresNew?
What is the new basic requirement for a cmp entity bean class in 2.0 from that of ejb 1.1?
How does ejb work in java?
How can a CORBA object, accessed from a EJB?
What is session bean?
How do you decide whether you should use session, entity or message driven bean?
What is stateful session bean?
What is stateful or stateless?
how can we decide a session bean as stateless or stateful without seeing jar file? i.e. by seeing the class file.
What is EJB object?
what is an ejb object?
5 Answers Bally Technologies, HCL, Siemens,