Re: [rules-users] How and when are objects released in Stateless Session

2007-11-17 Thread Mark Proctor

Arjun Dhar wrote:

Hi,
 can someone please explain; if a stateless session is used over a log period 
of time. How are the objects (rather the shadows to them) released?
  
You cannot insert data over time into a stateless session, all data is 
added at the same time. When the engine has finished processing it w ill 
return and is finished, at this point as soon as the stateless session 
is available for garbage collection the objects will be removed. There 
is no life cycle other than the standard GC one.
I understand that as long as a class is not final, its shadow is created and 
used. This raises a concern about the life cycle of that object.
  
Shadows are created on non-final classes unless you tell the system not 
to, if you are sure you don't need them you can turn them off. They can 
be turned of for all object, or specific objectsor packages.

perhaps the cause of memory leaks in the past.
  

no.

Wanted to nkow the life cycle in breif.

Thanks

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] How and when are objects released in Stateless Session

2007-11-15 Thread Arjun Dhar
Hi,
 can someone please explain; if a stateless session is used over a log period 
of time. How are the objects (rather the shadows to them) released?

I understand that as long as a class is not final, its shadow is created and 
used. This raises a concern about the life cycle of that object.

perhaps the cause of memory leaks in the past.

Wanted to nkow the life cycle in breif.

Thanks

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users