[jboss-as7-dev] Deploying REST endpoint from the subsystem

Jeff Mesnil jmesnil at redhat.com
Thu Apr 18 06:08:28 EDT 2013


On 18 avr. 2013, at 12:03, Gytis Trikleris <gytis at 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.

jeff

-- 
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/




More information about the jboss-as7-dev mailing list