Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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--
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic