• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic