Number Of Page View:100,000+/Months
LOGIN |New User


Where should SessionFactory be placed so that it can be easily accessed?
If the SessionFactory is placed in JNDI then it can be easily accessed and shared between different threads and various components that are hibernate aware. You can set the SessionFactory to a JNDI by configuring a property hibernate.session_factory_name in the file.