I have an application using Struts, Spring and Hibernate. My hibernate's session factory is a, expensive object and it takes a long time to load the factory. This is affecting the Application startup which cannot be afforded by an application. I want to separate this session factory loading from the main application startup and the application server startup.
Please suggest me of how to go about for the same.
Thanks in Advance,