> yeah, for some action classes spring inject singleton scoped service
> dependecies so that might be reason for those action for not getting garbage
> collected
This can not be. The only way your action will not be garbage
collected if that action instance is refferenced from a long lived
obje
gt; >
> > Can anybody tell me a way so i can find all action objects garbage
> > collected once action class has done
> > its work.
>
>
> What makes you think the action instances are not being garbage
> collected? As long as they are request scoped they will be e
100 % garbage
collection of my all action class objects.
Can anybody tell me a way so i can find all action objects garbage
collected once action class has done
its work.
What makes you think the action instances are not being garbage
collected? As long as they are request scoped they will be
Hi All,
I am using struts2 with spring object factory.
Here, spring is creating action class objects with request scope and
injecting service layer dependency and service layer objects are singleton
scope.
here, even i have given request scope it doesnt ensure 100 % garbage
collection of my all a
It doesn't matter as long as you can justify it :-) If the behaviors
"belong" together, you may choose to use a Dispatch-like action. Otherwise,
make them separate. Alot of this is stylistic but you'll figure out the
answer based on how related the business code is.
Paul
On 9/12/07, Zhang, Larry
Say I have two version design:
(1)
Some other things go here...
onePeople
one Employee
(2)
Some other things go here...
one People
on Employee
The verion 1 has three actions to render three pages, while version 2
use one action to render three pages. The arguments for version 1 is
that t
--- tom tom <[EMAIL PROTECTED]> wrote:
> The question we have is, What exactly the life cycle
> and scope of these Actions and Member variables,
> When it will be released from the value stack, how
> long will it be there in the value stack.
The following:
http://struts.apache.org/2.x/docs/big-
Hi,
As we dont have ActionForms seperately as in Struts
1.X.
We introduce member variables in the Action classes.
All our jsp field elements are mapped to these member
variables.
The question we have is, What exactly the life cycle
and scope of these Actions and Member variables, When
it will b
8 matches
Mail list logo