• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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--
 
I didn't like the taste of tongue and it didn't like the taste of me. I will now try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic