title: Create managed bean application scoped to load on the app start-up
body: <p>I'm new to Java EE and I have a task to do but no idea how to do it.
  I need to create a manged bean that will be scoped on the application. Everytime we start the application, the bean needs to load a list of data from database. 
  So, according to my research on the web, I need:</p>
  
  <ol>
  <li>Create a managed Bean.</li>
  <li>Add the bean name to faces-config as an application scoped bean.</li>
  <li>On the bean, add all the methods to load the datas.</li>
  </ol>
  
  <p>So how to set loading at the application start-up ? And then how to get these loaded datas from anywhere in the app?</p>