I am planing to but a web hosting package to host a site which shows customer details to the customers who will be registered with that web site. I have a java application which runs in my local computer which I am going to update the database of my hosted web site.
What in need to know is, is that possible to connect to the databases which we are buying from the web hosting package sellers from our locally running java applications?
I am planing to but a web hosting package to host a site which
Share
Q: is it possible to connect to the databases which we are buying from the web hosting package sellers from our locally running java applications?
A: No: not usually.
At a MINIMUM, you need at LEAST two things:
1) RDBMS-specific client software (including, but not necessarily limited to, the relevant JDBC driver(s)) loaded on to EACH client PC
… and …
2) All firewalls between the remote RDBMS server and each of your client PCs must be open to your RDBMS protocol (for example, port 1433 for MS Sql Server).
It’s much more common for your web app, web server and RDBMS to be co-located, and your clients simply communicate via HTTPS.