I have only read about these topics, on the java Sun J2EE tutorial, so hope someone who's used them may answer: is the purpose of 'passivation' (ejbPassivate() ) simply to return a bean to the pool (resource management)? and since you haven't 'removed' it, why would you ever explicitly 'passivate' a bean- when you call 'create' or 'activate', presumably you will initialize values for that instance, establish a primary key, whatever; if your container is passivating objects that haven't been accessed for a period of time, isn't that consuming resources, too? And what is this 'secondary memory' storage the J2EE tutorial mentioned? If the object is not destroyed, memory is not released - if you explicitly invoke 'passivate', what is the benefit? ('passivate' my eye- not a fan of nebulous neologisms)
Thanks for your attention!