title: Spring web app database access outside managed beans
body: <p>In my web app i have an <code>applicationContext.xml</code> which i define beans database connection parameters etc. 
  While i can make desired operations with managed beans (using services and daos) in a pojo class; i can not use those services and managed beans. Is there a way to access database from a pojo using parameters in application context? Every example i look using <code>@managedProperty</code> and managed beans. However it would be a bad design to define my pojo class as managed bean.</p>