简体   繁体   English

是否可以在其他主机服务器上部署Java Web服务和SQL数据库?

[英]Can I deploy Java web service and SQL database in different host server?

I have deployed my database in one server and my Java web service in another server. 我已经将数据库部署在一台服务器中,而Java Web服务部署在另一台服务器中。 I tried to access the database with web service but it doesn't return any rows. 我尝试使用Web服务访问数据库,但它不返回任何行。

Can I deploy database and Java web service in different servers? 我可以在不同的服务器上部署数据库和Java Web服务吗?

can i deploy database and java web service in different server? 我可以在不同的服务器上部署数据库和Java Web服务吗?

Yes you can, database and web-server are not dependent on each other installation. 是的,您可以,数据库和Web服务器并不相互依赖。 Just make sure you have the connectivity between the two machines, firewall allows connection on the desired port. 只要确保您在两台计算机之间都具有连接性,防火墙就可以在所需的端口上进行连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM