You can use Properties to read/write settings for your application. It is much easier than serialization.

Spring 3