A template for a Swing application using MVC, the Spring Bean Factory, and persistence