Unless the database is publicly accessible without a web interface, you need to do so by accessing through an HTTP request. You can readily do so via java.net
Reading from and Writing to a...