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 is ejb context?
Is functional programming stateless?
Can remove() be a Stateless Session bean?
Where is ejb used?
How can I access ejb from asp?
Can the primary key in the entity bean be a Java primitive type such as int?
What is session bean?
What are the required methods to implement EJB architecture?
What is the difference between session and entity beans? When should I use one or the other?
Tell me difference between Container managed persistent bean & Bean managed persistent bean?
What is the full form of ejb in java?
how to set the relationship between tables in ejb