-
Feature Request
-
Resolution: Won't Do
-
Critical
-
6.0.1.Final
-
None
In CDI, you can't manage a Solver in a @Produces @SessionScoped method:
https://github.com/jboss-developer/jboss-brms-quickstarts/blob/6.1.x-develop/business-resource-planner/src/main/java/org/jboss/quickstarts/planner/util/Resources.java
CDI fails fast if you do that, because Solver is not Serializable.
Solver and its children (phases, termination, ScoreDirector, ...) should be Serializable.
Risk: this implies that KieBase is also Serializable. Is it?
- is incorporated by
-
PLANNER-300 Make OptaPlanner even easier to get started with and use
- Resolved