title: Session Replication in Programming (Weblogic & Java)
body: <p>I would like to know if the object calling the session.setAttribute or session.getAttribute should be also needed to implement the "java.io.Serializable" in order to support the session replication?</p>
  
  <p>for example<br>
  the class User is implemented the Serializable interface.
  But if the class SomeUtilityClass that calling "session.setAttribute" is required to implement the Serializable interface.</p>
  
  <pre><code>
  /* Does it also need to implement the Serializable here? */
  public class SomeUtilityClass{
      public void test(HttpServletRequest request){
          request.getSession().setAttribute("user", new User());
      }
  }
  
  public class User implements Serializable{
          private static final long serialVersionUID = 12345432534456654664L;
          //skip the getter & setter...
  }
  </code></pre>
  
  <p>And is there any problems if the variable serialVersionUID has been omitted for the session replication?</p>
  
  <p>thanks in advance.</p>