- use JavaConfig to set up application context