IntelliJ Java IDE
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Difference in CMP/ BMP finder methods Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Difference in CMP/ BMP finder methods" Watch "Difference in CMP/ BMP finder methods" New topic
Author

Difference in CMP/ BMP finder methods

k doshi
Ranch Hand

Joined: Mar 16, 2002
Posts: 41
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.
 
 
subject: Difference in CMP/ BMP finder methods
 
Threads others viewed
Can anyone answer so tricky question
Nice Questions on EJB
ejb questions
ejb question
Nice EJB Questions. Any Takers?
developer file tools