[rules-users] Setting variables in a stateless session

Wolfgang Laun wolfgang.laun at gmail.com
Thu Apr 26 05:21:03 EDT 2012


On 26/04/2012, bardelman <feki.ahmed.job at gmail.com> wrote:
> hi folks, this is a simple question ,
> i just want to understand how is it possible that a stateless session have
> a
> setGlobal() method as it does not maintain a state. What's the point ?!

You don't keep "state" in globals with a stateful session either, so
your question is moot. If you don't have the need for a global, then
don't use it.

> i  also have some confusion between a "request scope" and a "stateless
> session scope" i think it s the same..

Probably, if I interpret your "request scope" correctly.

-W

>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Setting-variables-in-a-stateless-session-tp3940652p3940652.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list