title: Store Custom properties in aplicationContext.xml Spring file
body: <p>I need to store some configuration parameters for a web application that uses spring framework.</p>
  
  <p>Typically I'll use a configurationfile.properties file but i wonder if i can store that values in the applicationContext.xml file.</p>
  
  <p>One workaround could be to create a JavaBean class to store the values, and build that class using spring, something like this:</p>
  
  <pre><code>&lt;bean id="configurationBean" class="mypackage.someClass"&gt;
   &lt;property name="confValue1"&gt;
     &lt;value&gt;myValue1&lt;/value&gt;
   &lt;/property&gt;
   ....
  &lt;/bean&gt;
  </code></pre>
  
  <p>But i would like to know if is there a way to store those parameters without the needing to create that class.</p>
  
  <p>Thanks in advance.</p>
  
  <hr>
  
  <p>I think that the best solution that fits my requirements is to use a java.util.Properties instance as a Spring Bean.</p>
  
  <p>Thank you all.</p>