Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is http-remoting Protocol

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?

like image 720
nikmaster Avatar asked Mar 23 '17 08:03

nikmaster


2 Answers

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.

like image 172
James R. Perkins Avatar answered Oct 30 '22 14:10

James R. Perkins


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.

like image 23
ssRock Avatar answered Oct 30 '22 14:10

ssRock