Re: Lazy loading actions in Struts 2

2007-03-15 Thread Marco from Balboa
tatiating the bean and only examining the >> >>> metadata >> >>> >> >>> Probably. >> >>> >> >>>> more simply skipped and allow for the problem to >> >>>> surface when the action is actually called (maybe >>

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Don Brown
le distribuer ou de le reproduire. > - Original Message - > From: "Marco from Balboa" <[EMAIL PROTECTED]> > To: > Sent: Thursday, March 15, 2007 9:28 AM > Subject: Re: Lazy loading actions in Struts 2 > > >> >> Spring generally requires that the

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Marco from Balboa
s qu'il est strictement > interdit de le diffuser, de le distribuer ou de le reproduire. > - Original Message - > From: "Marco from Balboa" <[EMAIL PROTECTED]> > To: > Sent: Thursday, March 15, 2007 9:28 AM > Subject: Re: Lazy loading actions in Struts

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Martin Gainty
- Original Message - From: "Marco from Balboa" <[EMAIL PROTECTED]> To: Sent: Thursday, March 15, 2007 9:28 AM Subject: Re: Lazy loading actions in Struts 2 > > Spring generally requires that the no-arg constructor be accessible. It ought > to be unless you explicit

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Dave Newton
--- Marco from Balboa wrote: > In my case, I have connections to multiple databases > and some other very expensive resources that I am > allowing Spring to create and inject into the action > objects. Do you need to define them (the actions) in the context file? For instance, I am (currently)

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Marco from Balboa
ta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > &

Re: Lazy loading actions in Struts 2

2007-03-15 Thread Dave Newton
--- Marco from Balboa <[EMAIL PROTECTED]> wrote: > I tried following the documentation where they > instruct to place the name of the Spring bean in > class attribute for the action definition in the > struts.xml. I assume this is what you are doing as > well, correct? No :( I wasn't doing that,

Re: Lazy loading actions in Struts 2

2007-03-14 Thread Marco from Balboa
soaked. Take a quick peek at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMA

Re: Lazy loading actions in Struts 2

2007-03-14 Thread Dave Newton
--- Marco from Balboa <[EMAIL PROTECTED]> wrote: > but I am also encountering that it is happening at > application startup too. If I put a debug stmt in an Action ctor I don't see it on startup, only on a request. I am running under Tomcat 5.5, also using Spring. Ah, if I define it by name in a

Re: Lazy loading actions in Struts 2

2007-03-14 Thread Marco from Balboa
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Lazy-loading-actions-in-

Re: Lazy loading actions in Struts 2

2007-03-14 Thread Marco from Balboa
-- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Lazy-loading-actions-in-

Re: Lazy loading actions in Struts 2

2007-03-14 Thread Dave Newton
--- Marco from Balboa <[EMAIL PROTECTED]> wrote: > Is there a way to prevent Struts 2 from instatiating > all the actions defined in the action configuration > file whe loading the application? I didn't know it did; I thought they were instantiated per-request. d. __

Lazy loading actions in Struts 2

2007-03-14 Thread Marco from Balboa
Hi, Is there a way to prevent Struts 2 from instatiating all the actions defined in the action configuration file whe loading the application? I am using Spring for object factory. Thanks Marco -- View this message in context: http://www.nabble.com/Lazy-loading-actions-in-Struts-2-tf3404803