• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference in CMP/ BMP finder methods

 
k doshi
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i recd this questions in a test.
what is the correct answer for this
Which one of the following statements correctly describes the differences between CMP and BMP entity beans related to finder methods?
Choice 1
CMP finders return a primary key or a Collection thereof. BMP finders return an EJBObject or a Collection thereof.
Choice 2
CMP finders return only a Collection of primary keys. BMP finders return only a Collection of EJBObjects.
Choice 3
CMP finders return only a Collection of EJBObjects. BMP finders return only a Collection of primary keys.
Choice 4
CMP finders return an EJBObject or a Collection thereof. BMP finders return a primary key or a Collection thereof.
Choice 5
CMP finders return a primary key or a Collection of EJBObjects. BMP finders return a primary key or a Collection thereof.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic