Hi,
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,
Sudha


Reply With Quote
), but maximum tolerable startup time is XX seconds. And I have found that from XXX seconds YYY are spend for SessionFactory initialization Not just I guess that SessionFactory munches the lion part of it.