I 've deployed CosNotificationEJB .
only when I shutdown jboss ,the file JBOSS_HOME/server/corbanitf/tmp/sessions/CosNotification-e7ikkslt-4/e7iklzsv-6.ser will be generated .
but sometime it won't be generated ,even when I invoke it through ejb .
I was confused when the file "xxx.ser" would be generated
The bean is serialized when it gets passivated. The max-bean-life setting sets this value.