I want to store the data in database, but db is on different computer.
So, is it possible to save data in that db from my computer?
Joined: Jul 20, 2006
yes its possible. Provide machine name and database name for other machine.
For example if you are using mysql database, jdbc connection url is :jdbc:mysql://[Machine Name]/[Database Name]
Hope this will help you.
Joined: Mar 22, 2005
Yes, JDBC is in most cases used to access DBs that are *not* on the local machine, but somewhere on a server. As long as that server is reachable via TCP/IP (meaning, there's no firewall in between that blocks the DB port) it should work fine.