Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Doubt on which type of bean to choose

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
Finder methods are not in the entity bean class, they are in the home.
--Dale--
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic