aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming Fundamentals
  • ejbCreate() method of CMP bean returns
Multiple choice technology programming languages

ejbCreate() method of CMP bean returns

  1. null

  2. Primary Key class

  3. Home Object

  4. Remote Object

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For CMP (Container-Managed Persistence) entity beans, the container handles primary key generation, so ejbCreate() returns null. In BMP (Bean-Managed Persistence), ejbCreate() returns the primary key.

Keep practicing — related questions

  • Call back methods (ejbCreate,ejbRemove)implementation is different for different application servers.
  • Which of the following defines the method for the client to create, remove, and find EJB objects of the sam...
  • In order to use Container Managed Relations (CMR) fields in CMP entity beans, the developer Must
  • What are the call back methods in Session bean?
  • Which methods of the EntityContext interface can be called from within an ejbPostCreate of an entity bean c...
  • We can use any java primitive types as entity bean primary key field.
  • Which of the following statements are true about a CMP entity bean?
  • When an ejbCreate<method> method is invoked, what other methods mustthe container invoke?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Enterprise and Web Technologies (2183 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy