title: Spring 3 - Stop serializing an autowired bean
body: <p>I have a session object which contains a reference to another object that I do not wish to serialize. 
  Is it possible to do so using annotations?</p>
  
  <pre><code>@Component
   public class Model implements Serializable{
  private static final long serialVersionUID = 1L;
  
      @Autowired
      private Validator validator;
  </code></pre>
  
  <p>Thanks in advance,</p>