struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aum strut <>
Subject Re: Initialize and inject resources per application - S2
Date Wed, 05 Jan 2011 02:05:32 GMT
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, 2011 at 3:34 AM, Oscar <> wrote:

> 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
> resources once per application and set in application context for example,
> or i have to look for other choices like Spring.
> Regards.
> --
> Oscar Calderón
> SCJP 6  <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message