Depends on many factor & your exact requirement,
However you can use EHCache to boost performance along with QueryCache,
Level1 & Leve2 cache.
Lazy loading is also boost performance but in some scenarios only.
If you don't recognize these may degrade even too.

-----Original Message-----
From: Leonidas Papadakis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 23, 2007 3:41 PM
To: Struts Users Mailing List
Subject: Re: struts 2 best practice for hibernate session

Thank you for your reply.

What about the performance in this case... Is it going to be fast and 
stable ?

L

Baseer Patel MD wrote:
> If spring take control of this then you can access many
spring&container
> feature on session. Also you can take advantage of different Templates
> provided by spring(HibernateTemplate , SimpleJDBCTemplate..)
>
> -----Original Message-----
> From: Leonidas Papadakis [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, August 23, 2007 3:04 PM
> To: Struts Users Mailing List
> Subject: struts 2 best practice for hibernate session
>
> Greetings to all,
>
> since i am migrating to struts2 i would like to ask which is the most 
> efficient way to handle the hibernate sessions ... i.e. stick to the 
> hibernateutil class that is on hibernate website example ? Create a 
> application scope bean accessible via spring ?
>
> Your answers are appreciated
>
> Thank you very much
>
> Leonidas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

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

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

Reply via email to