FHSerkland (3) [Avatar] Offline
#1
Section 2.3.1 of Hibernate in Action discusses creating a SessionFactory in the context of creating a single instance of Configuration, which is created during application initialization. It's not clear to me how a class creating this instance would be called. If this occurs during application initialization, then this obviously occurs before anything else happens, but how would I call this class? And where in a web application's file structure would I store this class?