Multiple choice technology programming languages

Which of the following are illegal names for the business methods defined in an entity bean home interface?

  1. findAllCustomers(…)

  2. removeTheCustomer(…)

  3. createCustomer(…)

  4. create()

  5. retrieveCustData(…)

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

EJB home interfaces for entity beans have strict naming conventions. Methods starting with 'create' (like createCustomer) are reserved for create methods. Methods starting with 'find' (like findAllCustomers) are reserved for finder methods. Method names like removeTheCustomer conflict with EQL reserved keywords. The method name 'create' alone is a reserved word in EJB context. Only retrieveCustData() doesn't violate these conventions.