作者:沈丶小浪_171 | 来源:互联网 | 2023-05-18 11:44
IneedtodevelopanapplicationinwhichIhaveaJavascriptrunningontheclientthatneedstoc
I need to develop an application in which I have a Java script running on the client that needs to call Java procedures on the server (for example getting data from a database, I cannot do it directly from the client because the only port that is open on my Web Service is port 80). Since the only port open on the server is port 80 and a Web Service is listening on that port I cannot create a Java socket (am I correct?). What other options do I have?
我需要开发一个应用程序,其中我在客户端上运行需要在服务器上调用Java过程的Java脚本(例如从数据库获取数据,我不能直接从客户端执行,因为唯一的端口是打开的在我的Web服务上是端口80)。由于服务器上唯一打开的端口是端口80,而Web服务正在侦听该端口,因此我无法创建Java套接字(我是否正确?)。我还有其他选择吗?
Thanks a lot in advance, any help will be greatly appreciated
非常感谢提前,任何帮助将不胜感激
1 个解决方案