title: Creating an application scoped bean in spring MVC
body: <p>Good day Everyone,</p>
  
  <p>I want to explain my current legacy application before i ask my question. 
  I have a servlet in a Tomcat in which i load a non-changing database table into memory in the init() using Hibernate. Because this is defined in the init(), it is called only once and its available across all subsequent requests to the servlet, this is used because it improved application performance because of less round trips to the database.</p>
  
  <p>I have recently started to use Spring 3 and i want to change this set up (servlet class is now a controller) to Spring but my challenge is how do i create the ArrayList of domain object (as i do in the init()) at Spring load time for efficiency and have it available across all calls to the controller class without accessing the database every time a request comes in. If this is not possible, then what options do i have?</p>
  
  <p>Any help would be very appreciated.</p>