Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity Bean question

 
Prasad Kuppa
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Here is a question on entity bean :

When does an Entity Bean transition from Pooled State to Ready state
a. when create() is invoked on EJBHome
b. when a find method is invoked on EJBHome
c. when a BEan is activated by the container
d. when a BEan is passivated by the container

The answers given are : a, b, c

But, I think 'B' is incorrect. The Entity Bean state diagram in EJB spec 1.1 (page 102) shows that the ejbFind() methods are executed in pooled state itself. Can anyone confirm?

Thanks,

Prasad
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree, B doesn't seem to be right.
btw, I tried to find the Entity Bean Lifecycle diagram in the EJB 2.0 specifications, but without much luck.

-- Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic