OpenNTF / openliberty-domino

Open Liberty server embedded in Domino
Apache License 2.0
7 stars 3 forks source link

Investigate runjava or a C-based launcher #35

Closed jesse-gallagher closed 4 years ago

jesse-gallagher commented 4 years ago

I should take another look at runjava some time: https://paulswithers.github.io/blog/2020/03/01/runjava . It doesn't have the full environment of DOTS or HTTP, but it would be controllable as a true task and, as Paul points out there, it's "supported enough" in that it's used by ISpy.

The main thing would be making sure the extensions work outside of an OSGi environment (which should be a matter of adding META-INF/services files) and then shading together an uber jar for it.

jesse-gallagher commented 4 years ago

One big catch here will be that the user auth mechanism is done via servlets running in Equinox, so that will have to be able to work another way.

jesse-gallagher commented 4 years ago

If implemented with RunJava, this would also necessitate using maven-shade-plugin to rename third-party classes, since any JARs usable by RunJava will pollute the entire Domino classpath.