• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean and instance difference?

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
passivation makes bean to go to pooled state. Instances will be present in pool. so can we think bean and instance are same?

when bean is activated after passivation then same instance comes back or any instance can come back?

Yamini
 
Paulo Asterio Nunes
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yamini,

Instance is a java runtime realization of what the bean code is supposed to be ... therefore we can say that one instance is a copy of the bean, it's mean that "bean" word may be a "instance".

This is the same trick that you can see when HFE make reference to EJB Container and EJB Server ....

Is that engough ??? let me know ...

Regards,

Paulo Nunes
Brazil
MCP OCP IBM285 SCJP 1.4 SCWCD 1.4 SCBCD 1.3
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic