You can use Java to access a database over the Internet. JDBC, which stands for Java DataBase Connectivity, is the package implemented by Sun as part of JDK to connect to databases.