Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Interfacing applications to a MySQL database engine
Tips and short articles on this subject
Bean Classes in Java and Java Database Connections
MySQL - an FAQ
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Java module J811
JDBC - Relational Database Access
Exercises, examples and other material relating to training module J811. This topic is presented on public courses MySQL, Java Programming for the Web, Java Extra, Deploying Java Applications on Linux / Unix

The MySQL Relational database - Structure, Installation, Administration, Database Design and Programming through SQL This course introduces you to the ...
http://www.wellho.net/course/mqfull.html  [course]
Deploying Java applications on Linux and Unix - Learn to install and support applications under Linux/Unix with Apache, Tomcat and MySQL This course is ...
http://www.wellho.net/course/ajfull.html  [course]
Java Programming for the Web - Learn to write server- or client-side applications in Java. This course introduces you to the Java programming language, ...
http://www.wellho.net/course/jpfull.html  [course]
Java Extra - Subjects not covered on regular public courses! Individual Java users will need different advanced topics depending on their application. ...
http://www.wellho.net/course/jxfull.html  [course]
We're becoming a serious MySQL resource, with many technical articles, examples, forum posts and blog entries answering those difficult-to-resolve issues ...
http://www.wellho.net/mouth/515_MySQL-an-FAQ.html  [short article]
public class J850_jdbc { public static String insert(String name, String group, String born) { java.sql.Connection conn = linktodata(); ...
http://www.wellho.net/resources/ex.php4?item=j811/J850_jdbc.java  [code sample]
public class jdbc1 { public static void main(String [] args) { java.sql.Connection conn = null; System.out.println("SQL Test"); ...
http://www.wellho.net/resources/ex.php4?item=j811/jdbc1.java  [code sample]

Java accesses relational databases, such as Oracle and MySQL, through JDBC classes. A manager class which oversees the process is provided with the Java distribution, but you'll also need to obtain a driver class to talk to the specific database of your choice. Using MySQL as an example, this module takes you through the sourcing, configuration and use of JDBC so that you can access data in a relational database from within your Java application.

This topic is presented on public courses MySQL, Java Programming for the Web, Java Extra, Deploying Java Applications on Linux / Unix

Examples from our training material
J850_jdbc.java   Class to perform a MySQL table insert
J850insert.java   Servlet that adds a MySQL table row
J850select.java   Servlet to run a MySQL select (jdbc)
J850sjdbc.java   Generic database insert and select code (MySQL demo)
J850staff.java   Servlet to insert into and report on a table
Oralink.java   Connecting to an Oracle database
jdbc1.java   Connecting to a MySQL database
make_J850.java   Create table for J850 series of demos
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Interfacing MySQL to Java.
Using JDBC to access other databases.
Using JDBC on the Web.
Example: Managing a table of information about a population.
Example: A more general table management Servlet.
Enhancing our examples.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Java,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho