Quiz

1:A CMP entity bean that is the target of a container-managed relationship must implement which one of the following interfaces?
  1. Local interfaces

  2. Remote interfaces

  3. Both local and remote interfaces

  4. None of the above

A1: A
2:Which of the following is a valid return type for a get method of a collection-valued container-managed relationship field?
  1. Collection of entity bean's local interfaces

  2. Collection of entity bean's remote interfaces

  3. Collection of entity bean's home interfaces

  4. Collection of entity bean's local home interfaces

A2: A
3:Which of the following statements is true for container-managed relationship fields?
  1. Container-managed relationship fields are virtual only.

  2. The bean provider writes the implementation of container-managed persistent fields.

  3. The accessor methods for container-managed persistent fields are exposed in the remote interface of the entity bean.

  4. The accessor methods for container-managed persistent fields are exposed in the home interface of the entity bean.

A3: A
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.51.153