• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Difference in CMP/ BMP finder methods

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic