Using spring core, no MVC