What are the attributes of transaction in ejb?
Answer / Umesh
{"attributes": "In EJB, transactions can be configured using TransactionAttribute annotation. Some common attributes include: Required (indicates that a transaction is necessary), RequiredNew (indicates that a new transaction should be started for each method invocation), RequiredNew or Required (indicates that if a transaction already exists, it will be joined; otherwise, a new one will be started), NotSupported (indicates that the container will not start a new transaction but will participate in any existing transaction), Mandatory (indicates that a transaction is necessary and must exist when the method is invoked), Never (indicates that the method should never be executed within a transaction))"}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is beaninfo ?
What is Introspection ?
Differentiate Phantom from Un-repeatable?
Can Container managed Bean-Managed Persistence ?
Define ripple effect?
Difference between javaBeans and Enterprise JavaBeans?
1 Answers Indotech, Tech Mahindra,
what are the classes you used in Beans?
Can you be deported if you are stateless?
How does ejbs work?
can u explain about design patterns like singleton,builder,factory
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
Why do we need ejb in java?