Hi all I've been working a bit on a POC. The idea is to run a light weight Java SE application that does some basic bootstrapping and container services. The SE app would be configured with a basic socket listener using Netty and delegate requests to a REST provider. The idea behind it is that CDI forms the low level core of the "container", where a developer can deploy services they build on their own. The application is meant to be an API type server (deploy REST APIs) that runs using Netty, starts up a CDI container using DeltaSpike Container Control API. The launch module would handle the basic bootstrap of the rest provider, instantiating the CDI container using ContainerControl, and handle the necessary bootstrap for lookup up resources and registering with the provider. This type of module would compete with Spring Boot.
Currently what I have leverages Weld 2.1.1 and RestEasy. The equivalent should work for CXF. There's no hard dependency on Weld. I was thinking the module structure would include an api, spi, impl-resteasy and impl-cxf. Some things I'd like to add: - Automatic bootstrap of JPA (via JPA module) - Transaction intercepting (probably need to pull in the Geronimo lib) - Probably also register some providers automatically as well. Let me know your thoughts. John
