title: application variable in spring MVC
body: <p>I want to set a application variable in spring MVC Can I do just like this</p>
  
  <pre><code>  @Scope("globalSession")
    public class ApplicationVariable{
  
      public static appVar;
  
    }
  </code></pre>
  
  <p>Will this variable be available throughout the application? Or is there any other better way to do this?</p>