OpenNTF / openliberty-domino

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

Investigating replacing reverse proxy servlet #49

Closed jesse-gallagher closed 3 years ago

jesse-gallagher commented 4 years ago

Undertow looks like a likely candidate: https://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#introduction

It could make sense to run it in Domino's HTTP stack directly, since it will presumably open a separate port anyway, and will be more directly controllable without worrying about another distinct process. However, it could lead to trouble with Servlet versions: even if Undertow would be running its own HTTP endpoint, the javax.servlet v2.4/2.5 classes will almost definitely have to be exposed to its ClassLoader.

jesse-gallagher commented 3 years ago

It may make sense to implement this as an HttpService on Domino - it could check for started apps on Liberty servers, identify their context paths, and proxy incoming requests.

jesse-gallagher commented 3 years ago

This is covered by https://github.com/OpenNTF/openliberty-domino/issues/30