• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFEJB Lifecycle Overview Pg 210

 
Piyush Jain
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here its quoted:

"Bean times out while active"

But if there is no activity for long time the bean will be passivated, and not be active.

How can a bean be active if there is no activity going on on it, it should first be passivated in that case and then removed, rather than what's said here?

This part is confusing..

Please clarify.
 
Susanta Chatterjee
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beans will be passivated to reclaim resource, if server encounters resource crunching.

In case, a server does not face resource crunching, it will NOT passivate a bean, but certainly after some time, the bean will be timed out without being passivated first.

Hope this helps,
Susanta
 
Piyush Jain
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was perfect...

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic