References code of COMP3111 tutorial - spring.pdf Import that in STS and build with gradlew. Type run in gradle task to run it. There are two branches: Master works on DI with XML configuration autowired works on DI with autowired. database a simple ORM example with autowired.