The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

FHSerkland (3) [Avatar] Offline
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?