What is http-remoting Protocol
Asked Answered
A

2

9

I have set up an EJB on Wildfly and wrote a client to access it. With the protocol "http-remoting" it works fine.

Unfortunately, I am not sure about the functional details of http-remoting.

I guess this is a http-tunnel of the RMI protocol. But I can't find any suitable resources about this topic. So I am really unsure.

Does anybody know how http-remoting is working as a protocol?

Artistry answered 23/3, 2017 at 8:39 Comment(1)
It looks like remote EJB via HTTP: javaworld.com/article/2072246/…Willpower
O
11

It's a protocol implemented in JBoss Remoting. There is a GitHub repo for it as well.

Also depending on the version of WildFly you're using you may need to use remote+http or remote+https. The http-remoting protocol will still work, but is deprecated.

Orderly answered 24/3, 2017 at 17:8 Comment(4)
thank for your answer, do you know the differences between remote+http and http-remoting? are both http tunnels?Artistry
They are the same. http-remoting has been deprecated and remote+http should be used. It may depend on the version of WildFly you're using though. I don't recall which version remote+http came in on.Orderly
So this will not work with non-jboss containers? E.g. TomEE?Hemeralopia
It will more than likely only work for JBoss/WildFly containers. It's really a protocol for JBoss Remoting which JBoss EAP and WildFly happen to use.Orderly
G
2

From JBoss Redhat solutions site (https://access.redhat.com/solutions/3259861) remote: is the JBoss EAP 6 remoting protocol. It is not HTTP and cannot be used through a load balancer as it is designed to make a persistent connection to a host

http-remoting http-remoting: / https-remoting: is the JBoss EAP 7.0+ remoting protocol that uses http-upgrade, it will connect via HTTP and then use http-upgrade and switch to the remoting protocol. Though it is HTTP, it cannot be used through a load balancer for load balancing, it is designed to make a persistent connection to the remote host and remain connected until the JVM is shut down or closed by the client.

remote+http Works the same as http-remoting.

http In JBoss EAP 7.2 this protocol can be used as an HTTP protocol that can be used through a load balancer as it does not use http-upgrade and it can be load balanced via an HTTP load balancer.

Gernhard answered 4/3, 2021 at 16:35 Comment(1)
Hi, this doesn't seem very useful seeing as the question was already answered in 2017 and http-remoting has not massively changed since.Trinatrinal

© 2022 - 2024 — McMap. All rights reserved.