Where should SessionFactory be placed so that it can be easily accessed?
1) In the main method of the application
2) In a separate utility class
3) In a separate configuration file
4) In a database table