On 04/18/2013 12:08 PM, Jeff Mesnil wrote:
On 18 avr. 2013, at 12:03, Gytis Trikleris <gytis(a)redhat.com>
wrote:
> Hello,
> I am writing a JBoss AS subsystem which needs to register a REST endpoint during AS
initialization. I wanted to ask what is the best way to do this without simply placing a
war to the deployments directory?
You can use org.jboss.as.web.host.WebHost#addWebDeployment to deploy a web app from a
subsystem.
Even better, you can avoid using the deployer:
https://github.com/infinispan/infinispan-server/blob/master/integration/s...
The above is still JBossWeb based, but I'll switch to Undertow as soon
as there is a release of AS8.
Tristan