Drools:stateless vs stateful knowledge session

前端 未结 7 1875
生来不讨喜
生来不讨喜 2020-12-14 11:24

What is difference between stateless and stateful knowledge sessions.I read some documents both are maintained state.But when can i use stateless/stateful knowledge sessions

相关标签:
7条回答
  • 2020-12-14 12:00

    Stateless means a new session is created for each request (so no state is maintained). Stateful means it will continue from whatever state the session was when the previous command ended (for example, all data that was inserted into the session will still be there).

    0 讨论(0)
提交回复
热议问题