简体   繁体   中英

Integrate Optaplanner with existing Java application

Our existing application is build in Java using Spring, REST and MySQL. We now want to integrate Optaplanner in our system using Eclipse IDE. Can someone please provide a reference link to get started? The documentation on their website is not helping much.

If you're using maven, just add the maven dependency (see docs or download page) and refresh eclipse, otherwise add the jars from the bin dir from the distribution zip in eclipse.

Then look at the quick start tutorail in the docs. We don't have a spring BeanFactory wrapper yet for Solver(Factory), but that should be trivial to write, so you can inject a Solver(Factory). Or just create the SolverFactory and Solver in your java code. The domain objects are probably the same as your REST annotated objects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM