Doing applicationContext.getBean() completely defeats the purpose of dependency injection because you're not longer injecting dependencies. An application context XML file is fine. Annotation based configuration (auto-wiring) is also fine. This way you may as well be doing:
Service service = new Service();
or worse:
Service service = ServiceLocator.locate("service");
Both of which make your code hard to test.