1 Reply Latest reply on Jan 22, 2004 5:24 PM by darranl

    Does Jboss Activation on a stateful session bean restore the

    dave_dave

       

      "dave_dave" wrote:
      "dave_dave" wrote:
      "dave_dave" wrote:
      Hi,

      For example, if I have a stateful session bean that has a hashtable or a string as one of it's fields, does the activation automatically populate the instance of the field that was present before the passivation?

      thanks,
      dave_dave


        • 1. Re: Does Jboss Activation on a stateful session bean restore
          darranl

           

          "darranl" wrote:
          If the session bean holds references to serializable objects they will automatically be stored on passivation and restored on activation.

          Non serializable objects references by a session bean will cause errors unless they are declared transient (Also setting to null on passivation may avoid errors but I haven't tried it).