• Post Reply Bookmark Topic Watch Topic
  • New Topic

question from IBM 484 ICE test

 
Edy Yu
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following is TRUE concerning CMP entity bean activation and passivation?
A. Storage of persistent state to the database is handled automatically by the EJB container during passivation.
B. A client must explicitly activate a bean that has been passivated.
C. Clients do not directly communicate with a bean and are unaware of activation and passivation.
D. Transient fields are handled explicitly by activation and passivation.
A and C seem right to me.
Maybe the wording of A is not right???
Any thoughts?
 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think storage of an entity bean happens only if the state is changed and not during passivation.
 
sameerleekha
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
B and C are correct. I am not sure about D.
But A is incorrect because in entity beans poolint concept exists, so during passivation of the bean instance, the data is written to some kind of storage like the file system but not in the database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!