Re: [OT] Struts - Spring - hibernate and lazy initialization

2008-04-02 Thread Laurie Harper
This isn't really a Struts issue, since you're asking how to drive your service/dao layout from a thread outside the context of a Struts-served request. What you need to do in that case is to manage the Hibernate session from your worker thread. The thread needs to setup and open the Hibernate

Re: [OT] Struts - Spring - hibernate and lazy initialization

2008-04-02 Thread Yayo
Oki, thanks, I've posted to Spring mailing list with my problem ^g^ On Wed, Apr 2, 2008 at 11:14 PM, Laurie Harper [EMAIL PROTECTED] wrote: This isn't really a Struts issue, since you're asking how to drive your service/dao layout from a thread outside the context of a Struts-served request.

[OT] Struts + Spring

2004-09-20 Thread atta-ur rehman
Folks, I've seen quite a few references to Struts and Spring integration while browsing this mail archive. I was wondering why would I ever want to use Spring with Struts application? I hope people who have experience with both of these framework would shed some light on this question. Regards,

Re: [OT] Struts + Spring

2004-09-20 Thread Brian Kuhn
Spring is great for wiring your application together. It decouples your application layers and reduces the amount of code you have to write. If you and your team already know struts, you can use it instead of Spring's MVC framework. I've written a couple applications using this combination. It