Which of the following methods must be implemented by an entity bean class with Container managed persistence?
Select 1 correct option. A. At least one ejbCreate(...) B. ejbFindByPrimaryKey(...) C. At least one ejbSelect(...) D. At least one ejbFindByXXX(...) (other than ejbFindByPrimaryey(...)) E. None of these.
I selected the option B. The spec also says the same thing on page 271. = "Every entity bean must define the ejbFindByPrimaryKey method."
B is wrong. The findByPrimaryKey method is implemented by the application server, not the bean programmer. You do need to define it in the home interface(s) though to return the correct type and take the correct type parameter.