Reusable code for persistence (hibernate), security, spring and wicket.