|
Hi,
activation/passivation is related to the transactional behaviour of
your application. Let me rephrase an answer of Philippe Durieux on the
jonas-users list, explaining the activation/passivation of entity beans
in JOnAS (you can also have a look a the end of the Bean Programmer's Guide
of the JOnAS documentation, http://www.objectweb.org/jonas/jonas_root/doc/Program.html#Bull,
the section about passivation timeout for entity beans):
Hope this will allow you to understand the particular behaviour you observe... if your getUserName method is called within a transaction (e.g. it has a transactional attribute "Required", "RequiresNew", ...) which is commited just after the call, then it is normal that you see a passivation operation. Best Regards, François Appendix : Configuring the passivation timeout
<jonas-entity>
yahoo wrote: Hello everybody; I am using the latest JOnAS, and I would like to now when exactly ejbPassivate/ejbActivate are called ? I found out that Jonas execute ejbPassivate just after I finish invoke "getXXX" methods on my Entity Bean: Example : Entity Bean "User" Steps: 1 ---->get Home interface 2 ---->findbyPrimaryKey 3 ---->getUserName 4 end I remark that ejbPassivat is executed by Jonas just after getUserName. is it normal ? thanks lot...-- ================================================================== François EXERTIER Evidian (Groupe Bull) 1, rue de Provence, BP 208, 38432 Echirolles cedex, FRANCE mailto:[EMAIL PROTECTED] http://www.evidian.com/jonas http://www.objectweb.org/jonas Tel: +33 (0)4 76 29 71 51 - Fax: +33 (0)4 76 29 77 30 ================================================================== ---- This list is cross-posted to two mail lists. To unsubscribe, follow the instructions below for the list you subscribed to. For objectweb.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". For enhydra.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". |
- ejbPassivate/ejbActivate frequency call ? yahoo
- Re: ejbPassivate/ejbActivate frequency call ? Fran�ois Exertier
- Re: ejbPassivate/ejbActivate frequency call ? Fran�ois Exertier
- Fw: ejbPassivate/ejbActivate frequency call ? yahoo
