问题
Is it possible to deploy an application with WildFly as a bundle?
I am able to do this with embedded Glassfish.
回答1:
If you want to embed JBoss/Wildfly with your app, you should review Wildfly Swarm. That's a way to generate an application that contains the server embedded. It's very similar to Spring Boot, but you can use Java EE APIs.
回答2:
As you can see in JBoss documentation there has been something for OSGi, rather than there is... To me it looks like this has died before wildfly was released.
来源:https://stackoverflow.com/questions/29168150/is-it-possible-to-deploy-an-application-with-wildfly-as-a-bundle