How to access a web service behind a NAT?

后端 未结 8 610
死守一世寂寞
死守一世寂寞 2021-01-02 20:43

We have a product we are deploying to some small businesses. It is basically a RESTful API over SSL using Tomcat. This is installed on the server in the small business and i

8条回答
  •  一生所求
    2021-01-02 21:30

    If you want to have a RESTful integration to the client server, a tunnel to the central server that works as a proxy, seems the best approach.

    But if this is not a hard requirement, you can let the central server handle the RESTfull stuff and integrate the central server and client server with other middleware. Good candidates would be RMI or JMS. For example, a RMI connection initiated by the client allows the server to do RMI calls to the client.

提交回复
热议问题