Re: Initialize and inject resources per application - S2

2011-01-05 Thread Oscar
Well, i really don't know Spring but i'm going to learn soon, also that plugin shows interesting and is recently updated, i'm gonna check it out. Thanks to all 2011/1/4 Maurizio Cucchiara > I usually use spring open session in view filter, but obviously there are > other way. I'm don't know if

Re: Initialize and inject resources per application - S2

2011-01-04 Thread Maurizio Cucchiara
I usually use spring open session in view filter, but obviously there are other way. I'm don't know if out is exactly what you need: http://community.jboss.org/wiki/OpenSessioninView There is a struts plug-in too https://cwiki.apache.org/S2PLUGINS/full-hibernate-plugin.html Maurizio Cucchiara On

Re: Initialize and inject resources per application - S2

2011-01-04 Thread aum strut
Struts2 has its own Object creation way an Object factory which is responsible for creating all framework required objects like Actions,Interceptors Results etc. And its flexible enough if you want to let spring do this for Struts2 you can always do that by using Spring with struts2 On Wed, Jan 5

Initialize and inject resources per application - S2

2011-01-04 Thread Oscar
Hi to all, i have a question about Struts 2 capabilities. Maybe it sounds dumb, but yesterday i realized that, when you work with Hibernate, you have to initialize one SessionFactory per application, not per session as i believed. So i don't know if struts2 provides some mechanism to initialize res