Ok, just to report back. I found it extremely easy to use the COPASI python bindings in a Heroku Python project (which uses django), that together with basico made it really easy to directly simulate models.
With Java it was a bit more involved. the key steps are:
* add the copasi.so / jar to your git project (in my example a ./copasi directory in the root)
* change the proc file to add the path to the directory, so it should start:
web: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./copasi java -jar target/...
* now for the tricky bit to sneak the copasi.jar file into the maven project:
* create a local repository directory (for me 'repo')
* convert the local copasi.jar into a maven artifact using the maven-install-plugin
* add all files from the repo directory to your git project.
* modify the pom.xml to include the local 'repo' as repository
* and add the local copasi artifact as dependency.
From then on i was able to run all copasi methods (just as in the java examples) in the spring boot controllers.
I hope this helps, dont hesitate to ask for more information.
best
Frank