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
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to