🎴 Flashcard Mode

EJB Quiz

Card1 / 11
Mastered0
Review0
QuestionClick to flip

ejbCreate() method of CMP bean returns.

AnswerClick to flip back
A
null
💡 Explanation:

In EJB 2.x CMP, the container handles the actual creation of the record and the primary key. The ejbCreate method in a CMP bean is defined to return the primary key type, but the implementation must return null. The container then initializes the primary key and returns it to the client.

Change Mode