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
Using Removing Bean Instance
Comparing Entity Bean Instances
Complete Code Customer Client
Entity Bean Client Conclusion
Bean Managed Persistence
Deployment Process EJB Platforms
Download Java EE Reference Platform
Configure Reference Implementation
Create Deploy Jar File
Deploy Bean Container
Client Access Bean
Ejb Deployment Conclusion
EJB Transactions - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
What activities are possible in bean-managed transactions?
Please select all the correct answers.
A.
Rollback a transaction
B.
Commit a transaction
C.
Discard a transaction
D.
Verify if a transaction context exists
E.
Terminate a transaction
2.
Which of the following keywords are valid transaction controls for a method?
Please select all the correct answers.
A.
Trans_Required
B.
Supports
C.
Requires_New
D.
Never
3.
What will happen if the invocation of a method, within the context of a transaction, arrives at a bean instance that has the transactional control set to Supports?
Please select the best answer.
A.
The call will be returned with an error.
B.
The existing transaction will be suspended and a new one will be started.
C.
The existing transaction will be propagated across the method.
D.
The existing transaction will be suspended and no new one started.