I define a bean of type AnnotationSessionFactoryBean for using in a web-app.
If I do not explicitly define it as NOT singleton, it must be singleton.
Now, it is bound to the current thread.
It means it cannot be a singleton.
p.s. Session produced by Factory is not a singleton, SessionFactory on the other hand is always a singleton. Now everything is clear!