Is there any webservice equivalent of the example applications exposed in optaplanner like Roastering, Task Assigning?
Is there a way to integrate the existing optaplanner swing applications with a webservice(preferably REST)?
Take a look at this guide on how to expose OptaPlanner as a REST service with Quarkus.
See also the accompanying source code with that guide and our video.