This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of DevSecOps Adventures: A Game-Changing Approach with Chocolate, LEGO, and Coaching Games and have Dana Pylayeva on-line!
See this thread for details.
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Doubt on which type of bean to choose

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I came across the following question in one of the mock exams ...

Which of the following methods must the Bean Provider implement in an entity bean class?

A) ejbFind<METHOD>()
B) setRollbackOnly()
C) unsetEntityContext()
D) ejbSelect<METHOD>()
E) ejbLoad()

The correct answers they say are C and E.

But in case of BMP, the bean provider has to implement the ejbFind<METHOD> right?

In these cases, which type of entity beans do I have to consider (a CMP or a BMP)?

Thanks,
[ May 26, 2004: Message edited by: Ramesh Aiyappan ]
 
cowbird
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

With BMP entity beans you also have to write the finder and select methods, that's right!

I got a very similar question on the real exam, but it clearly stated that is was about CMP entity beans, so i don't think you have to worry. The 'real' exam questions were all very clear about such things.

Greetz, Jef
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BMP is not in the exam, so no need to learn anything about it .
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finder methods are not in the entity bean class, they are in the home.
--Dale--
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic