spring ioc related examples