Hi all,

I'm struggling to find a way how (or if) the WildFly subsystem may deploy and start a JAX-RS application. My idea is having a subsystem that starts a JAX-RS application that will be capable of serving HTTP requests.

I do work with EAP7-1496 which is integration of Narayana LRA[2] to WildFly.

I would like to take the Application class and get it booted on subsystem startup. I'm trying this way[3]. But it seems the JAX-RS is not launched correctly to serve the requests. I have trouble finding a way to progress on this.

Is this idea achievable for the WildFly subsystem?
What approach or API could I use?

Any idea or best practice guidance is heavily appreciated.

Thank you
Ondra

[1] https://issues.redhat.com/browse/EAP7-1496
[1] https://narayana.io/lra/
[3] https://github.com/wildfly/wildfly/compare/main...ochaloup:EAP7-1496-microprofile-lra-feature-pack-coordinator?expand=1#diff-e4a37f8886fb1bd4348440516c181f4356ab6549693231a875e1578fc0a91181R82