[wildfly-dev] EJB over HTTP

David M. Lloyd david.lloyd at redhat.com
Wed May 4 09:11:05 EDT 2016


On 05/04/2016 12:50 AM, Stuart Douglas wrote:
> Hi everyone,
>
> I have started looking into support for service invocation over HTTP.
> Unlike our existing HTTP upgrade support this will map EJB
> requests/responses directly to HTTP requests and responses, which should
> allow it to be used behind existing load balancers.
>
> I have started an initial description of the protocol at:
> https://github.com/stuartwdouglas/wildfly-http-client/blob/master/docs/wire-spec-v1.asciidoc
>
> The intention is to follow HTTP semantics as closely as possible.
> Clustering will be provided in a similar manner to web clustering (i.e.
> it will require a load balancer, and work in a similar manner to web
> clustering).
>
> There is still plenty work that needs to be done (especially around
> security), so if anyone has any feedback let me know.

One thing I was thinking was that we could possibly support multiple 
marshalling strategies in the future by way of content-type, since that 
header has a useful negotiation strategy already defined.

It could even be done using the defined types e.g. 
application/x-ejb-invocation;version=2;m=protobuf or whatever. 
Something to think about for the future...
-- 
- DML


More information about the wildfly-dev mailing list