GenericApplicationContextGenericApplicationContext = applicationContext = new GenericApplicationContext();applicationContext.registerBean(HelloController.class);applicationContext.refresh(); 아래와 같이 Bean을 등록하고 servlet에서applicationContext.getBean(HelloController.class);String ret = helloController.hello(name); 아래와 같이 사용해 주면 된다. DIHelloController -> SimpleHelloService 한 클래스가 다른 클래스의 기능을 사용하게 되면 그것을..