JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
Distributed Transactions
«Prev
Next»
Entity Beans
EJB Distributed Transactions
Overview EJB Transactions
Transactions Remote Objects
Management Distributed Transactions
Java Transaction API
Client Managed Transaction
Bean Managed Transactions
Container Managed Transactions
Bean interactions Transaction Controls
Session Beans Transactions
EJB Transaction Exception
Choosing Differen Management Schemes
EJB Distributed Transaction
Entity Bean Components
Entity Bean Architecture
Entity Bean Characteristics
Primary Key Object Identity
Locating Entity Bean
Bean Managed Persistence
Container Managed Persistence
Entity Bean Life Cycle
Entity Bean Conclusion
Client View Bean
Creating Entity Instance
Find Bean using Key
Comparing Entity Instances
Entity Bean Client Conclusion
Bean Managed Persistence
EJB Transaction Theory - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of the following statements are true for transactions?
Please select all the correct answers.
A.
Transactions can be nested.
B.
An atomic operation means that all resources are committed or none are.
C.
A global transaction updates a single local database.
D.
A two-phase commit allows one or more databases to be updated in an atomic operation.
2.
Which of the following apply to a transactional object?
Please select all the correct answers.
A.
It can alter the outcome of a transaction.
B.
If the system crashes before the data is written, it can be recovered automatically.
C.
It may have data that needs to be saved as part of a transaction.
D.
It registers itself with the transaction manager.
E.
It can check whether the transaction completed.
3.
Which of the following applies to a recoverable object?
Please select all the correct answers.
A.
It knows how to take part in a two-phase commit.
B.
It cannot roll back its state.
C.
If the system crashes before the data is written, it can be recovered automatically.
D.
It registers itself with the transaction manager.