added spring's java based configuration