• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on which type of bean to choose

 
Ramesh Aiyappan
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 ]
 
Jef Cumps
cowbird
Ranch Hand
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
 
Roger Chung-Wee
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 .
 
Dale Seng
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--
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic