This content has been marked as final.
Show 2 replies
-
1. Re: Stateful Session Bean and memory leak in EAP61 or JBOSS 711
croco Apr 10, 2015 4:59 PM (in response to davidfdr.davidfdr.gmail.com)1 of 1 people found this helpfulIf you want to use the same instance of the SFSB je have to hold the reference to the bean. This is not a proxy like for SLSB where you get every time an instance from the pool, you are given an actual instance. But why don't you use SLSB so you won't have this kind of problems if you have requests from web service?
When you want to close your conversation with the SFSB you have to call the method annotated @Remove.
You were asking about timeouts, Take a look at this: https://developer.jboss.org/wiki/HowDoTheTimeoutsWorkWithEJB3StatefulBeans
-
2. Re: Stateful Session Bean and memory leak in EAP61 or JBOSS 711
davidfdr.davidfdr.gmail.com Jul 1, 2015 6:43 PM (in response to croco)Thank you by your answer. We manage to change all stfb to stateless and and called the @Remove annotated methods.
Now the system is OK.