-
1. Re: keepAlive issue
mkaratas Jun 18, 2009 9:15 AM (in response to mkaratas)hi friends I need help. could you please give me some idea about the usage of this component?
-
2. Re: keepAlive issue
nbelaevski Jun 18, 2009 1:48 PM (in response to mkaratas)Hi Mustafa,
Both versions should work much the same. So, are you keeping annotated bean in "session" scope? Redirect navigation may cause the bean to loose state, do you use it? -
3. Re: keepAlive issue
mkaratas Jun 19, 2009 1:52 AM (in response to mkaratas)first of all thanks for your reply nbelaevski.
I dont keep annotated bean in the session scope. but it behaves as if it is in the session scope. first of all I want to learn when does annotated bean will be swapped out from memory. what is its timeout?
Also I dont use redirect navigation.
As I said before when I use the a4j:keepAlive in the jsp page it desnt work. is there any special place for this component?
how long does it live in case of using annotation?
thanks in advance, -
4. Re: keepAlive issue
nbelaevski Jun 19, 2009 5:47 AM (in response to mkaratas)Mustafa,
No, tag placement should not affect the component functionality.
Keep-alived objects marked with annotation are removed when you explicitly remove them from the "request" scope. There are no timeouts for this. -
5. Re: keepAlive issue
nbelaevski Jun 19, 2009 5:48 AM (in response to mkaratas)BTW, take a look: http://java.dzone.com/articles/jboss-richfaces-spring?page=0,5