When these methods are used ? ejbActivate(), ejbPassivate() and ejbRemove() ?

Showing Answers 1 - 1 of 1 Answers

Sushil

  • Nov 24th, 2005
 

When first time the beans instance is created,it will be added in pool cache.when it goes out of scope,then ejbPassivate() is called,again when it is called then it is activated using ejbActivate() in pool cache.But no more reference to that object and that scope ended then ejbremove() called to remove object permanently.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions