1. Home
  2. Computing & Technology
  3. Computer Certification
SCBCD Practice Test
20 Free SCBCD Practice Questions from Whizlabs.com
 

Question 11

What are the requirements for a primary key class that maps to multiple fields of an entity bean class?

a. The primary key class must be private and be an inner class of the entity bean class.

b. The primary key class must be public and abstract as the container will be responsible for providing an implementation of the primary key classes.

c. All fields of the primary key class must follow the JavaBeans conventions, that is, the fields must be private, and public accessor or mutator methods must be provided.

d. All fields of the primary key class must be declared public (and thus, break the encapsulation of the primary key class).

e. Only the container-managed field names of the entity bean declared in the deployment descriptor can be used as field names in the primary key class.

Next page > Question 12

Explore Computer Certification
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2009 About.com, a part of The New York Times Company.

All rights reserved.