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

What are stateless applications?

0 Answers  


How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?

1 Answers  


What is ejb client?

0 Answers  


How is consistency maintained by Stateful Session through transaction updates ?

0 Answers  


What is ejb and its types in java?

0 Answers  






How can enterprise javabeans be accessed from active server pages?

0 Answers  


Is success EJB3.0 in the Market? IF yes just explain main differences between EJB2.0 and EJB3.0.

1 Answers   ITC Infotech,


Differentiate Conversational from Non-conversational interactions?

0 Answers  


What is activemq used for?

0 Answers  


Is udp stateless?

0 Answers  


What do you mean by timer service and where it is used?

0 Answers  


Explain the difference between, Java Class and Bean?

3 Answers  


Categories