June 2015
Intermediate to advanced
326 pages
7h 18m
English
KieSession is a stateful session that maintains its conversational state with the engine, across multiple interactions. It is the best way to interact with the engine. Sessions are created starting from KieContainer, KieBase, or configured RuntimeEngine, which always delegates to KieBase but gives you the flexibility of choosing a session runtime policy.
Depending on the enabling of persistence, the session is created as follows:
To create a new (stateful) KieSession, we configure the environment and we use JPAKnowledgeService:
Environment ...
Read now
Unlock full access