什么是 http-remoting 协议

What is http-remoting Protocol

我已经在 Wildfly 上设置了一个 EJB 并编写了一个客户端来访问它。使用协议 "http-remoting" 它工作正常。

不幸的是,我不确定 http-remoting 的功能细节。

我猜这是 RMI 协议的 http 隧道。但是我找不到关于这个主题的任何合适的资源。所以我真的不确定。

有人知道 http-remoting 作为一种协议是如何工作的吗?

它也是在 JBoss Remoting. There is a GitHub repo 中实现的协议。

另外,根据您使用的 WildFly 版本,您可能需要使用 remote+httpremote+httpshttp-remoting 协议仍然有效,但已弃用。

来自 JBoss Redhat 解决方案站点 (https://access.redhat.com/solutions/3259861) remote:是 JBoss EAP 6 远程协议。它不是 HTTP,不能通过负载平衡器使用,因为它旨在与主机建立持久连接

http-远程处理 http-remoting: / https-remoting: 是使用http-upgrade 的JBoss EAP 7.0+ remoting 协议,它将通过HTTP 连接然后使用http-upgrade 并切换到remoting 协议。虽然它是 HTTP,但它不能通过负载平衡器用于负载平衡,它旨在与远程主机建立持久连接并保持连接,直到 JVM 关闭或被客户端关闭。

远程+http 与 http-remoting 相同。

http 在 JBoss EAP 7.2 中,此协议可用作可通过负载均衡器使用的 HTTP 协议,因为它不使用 http-upgrade,并且可通过 HTTP 负载均衡器进行负载均衡。