This content has been marked as final.
Show 3 replies
-
1. Re: Auto Caching veriable in JBoss 7.1 Final
jaikiran Mar 5, 2012 1:40 AM (in response to surajchhetry)What do you mean by cached? For stateless beans you are not supposed to maintain state within the bean instance.
-
2. Re: Auto Caching veriable in JBoss 7.1 Final
surajchhetry Mar 5, 2012 11:25 AM (in response to jaikiran)Yes I belive same but some how it is mainting state.It is only happening with RESTfull bean .Moreover, My application was prefectly working fine in jboss 6 .
-
3. Re: Auto Caching veriable in JBoss 7.1 Final
jaikiran Mar 5, 2012 11:38 AM (in response to surajchhetry)1 of 1 people found this helpfulWhat I meant was, you are not supposed to store the state in the stateless bean instance. Stateless beans are backed by a bean instance pool and you can end up using a bean instance which was used earlier by some other invocation.