After working a while with the dev mode in Lagom I was trying to figure out how to do a deployment in a non-dev environment without Kubernetes or any other container/service orchestration environment (i.e. “naked” linux VM). The idea is that new service implementations are assigned a random free port on the machine and all services inside the module are registered when each module boots up in the IMDG. Implementing the ServiceLocator interface was no problem, however I of course can only use it outside of dev mode because there is already an implementation bound. This is no problem, so I was researching how to run my services without the lagom-maven-plugin:runAll command but just service by service, however I have already failed to create an executable jar, that boots up a service implementation.
When looking through the source on github and inside the ‘dev’ package, there is a lot of code. Do I have to implement all of that myself? I saw ConductR in the documentation but I read the words “Commercial License” so that immediately makes it a no-go.
What is the starting point if I want to create an executable jar of my service implementations?