Oh yeah, you obviously don't need the Hibernate code there.

Angelo Chen wrote:
> 
> Hi Martin,
> 
> Can you share some portion of the code ? I'd like to test it if I can
> speed up my app? Thanks.
> 
> A.C.
> 
> 
> Martin_S wrote:
>> 
>> I have chosen quick-and-dirty for now. like
>> http://www.hibernate.org/114.html, I used a ServletContextListener to
>> detect deployment. For our particular objective, I made it spawn a
>> separate Thread to keep trying (for max one minute) to do a GET of a page
>> that needs to create an HttpSession. 
>> 
>> Tomcat needs you to read at least the first line of a response to obtain
>> the desired behavior.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-init-T5-pages-on-deployment----1st-few-hits-would-be-faster-tf4437654.html#a12728589
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to