How to make Spring initialize a static variable
Jul 08
Two days ago, I faced a tricky situation while coding. Mainly I was using Spring to read database parameters into a variable so I’d never need to open the code to change database parameters. This is simply done by adding this to your applicationContext.xml file: XHTML <util:properties id="databaseConfig"...
Read More