JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
Entity Beans
«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
122
Finding Entity Bean - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of the following statements regarding entity beans are true?
Please select all the correct answers.
A.
Entity bean clients have a one-to-one relationship with entity beans.
B.
Entity beans have a one-to-one relationship with the underlying data.
C.
When you delete the entity bean instance, the data it represents is deleted.
D.
Entity beans are discarded when the container crashes.
2.
Which of the following statements are true for the primary key?
Please select all the correct answers.
A.
The primary key relates to the bean and not the underlying data.
B.
The primary key can be any valid Java class.
C.
The primary key can be found from the EJBObject.
D.
The primary key is used to find the bean instance.
3.
What is the return from the
findByPrimaryKey()
?
Please select the best answer.
A.
The home object reference
B.
The EJBObject reference
C.
Void
D.
The primary key