Is it possible to deploy an application with WildFly as a bundle?
I am able to do this with embedded Glassfish.
Is it possible to deploy an application with WildFly as a bundle?
I am able to do this with embedded Glassfish.
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.
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.