As discussed in the mailing list https://groups.google.com/group/ektorp-discuss/browse_thread/thread/f61556d7e9be3bbe?hl=fr, we use now InitializingBean and DisposableBean to create and destroy bean.
BTW, when destroying a bean, we must shutdown http connector.
Update pom.xml for log4j and slf4j to have better trace when launching
tests in spring module
Update to Spring 3.1.1
Modify log levels for Spring tests
When using a Spring factory, it could be better to use InitializingBean
and DisposableBean interfaces to create and destroy bean. BTW, when
destroying a bean, we must shutdown http connector.