O'Reilly logo

MySQL, Second Edition: Visual Quickstart Guide by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9. MySQL and Java

Over the past several years, Java has emerged as a very popular programming language, thanks largely to its platform independence. You can use Java to create applets that run on Web pages, to write JavaServer Pages (JSPs), or to develop stand-alone applications.

Because Java always uses JDBC (Java Database Connectivity) to connect to a database, if you write your code properly and adhere to SQL standards, your Java applications can be easily ported from platform to platform and database application to database application. When it comes to using Java with MySQL, there is MySQL’s own special JDBC interface, called MySQL Connector/J.

Like the preceding two chapters, this one will not actually teach Java, though I will explain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required