Instructor-led training
JDBC - Java Database Connectivity Using Rational Application Developer (RAD) Training in Pine Bluff, Arkansas
JDBC is a Java technology for accessing SQL databases.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Pine Bluff, Arkansas or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
What makes JDBC harder than it looks
The JDBC calls are few. The difficulty is in the details around them: resource handling, transactions, null values and where connections come from. The syllabus builds in layers.
- Connecting. It starts with the architecture and API overview,
DriverManager, JDBC drivers, JDBC URLs, theConnectioninterface andDatabaseMetaData. Handling database exceptions is taught here too, because most failures show up at connection time. - Processing data. Statements, precompiled statements and stored procedures come next, then
ResultSetprocessing, dealing with null data, and updating, inserting and retrieving rows. Controlling transactions follows. A common misconception is that a query that runs is a query that is correct. A SQL NULL read through a primitive getter can silently become 0 unless you check for it, and a transaction that is never committed or rolled back cleanly can leave a database inconsistent. - Structure. Data Access Objects, O-R mapping and value objects show how to keep SQL out of business logic.
- Production concerns. Driver types,
DataSource, JNDI and connection pooling (including statement pooling) change how connections are obtained. Code that works withDriverManageron a desktop often needs rethinking under a container-managed pool, where closing a connection means something different.
The final block surveys SQLJ, O-R mapping tools, JDO and EJB entity beans. It also covers batch updates, scrollable result sets, rowsets, user-defined types and BLOB/CLOB handling. These topics matter because each one changes what a connection can do and what it costs.
Who it suits and what to take around it
The course is for programmers who already have some Java and object-oriented experience and need to read and write database access code in one day. Labs run in Rational Application Developer (RAD), and the lab instructions walk through its wizards and tools. The course lists Java SE 7 and earlier as its platform, which is out of support. It therefore fits organizations that build, maintain or migrate existing systems on that platform.
If your Java is thin, Fast Track to Java 7 and OO Development, Rational Application Developer (RAD) covers the language in the same RAD environment. After this course, Fast Track to Java EE 5 with Servlets, JSP & JDBC puts JDBC inside a web application.
Organizations working on newer Java releases can ask about private training tailored to the versions they use. Request a training proposal to start that conversation. More options are listed in the Java Programming courses and learning guide.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Isolating SQL. A team might have SQL scattered through servlet code. The DAO and value-object material shows how to move it behind one data access layer, so a schema change touches one class instead of many.
- Safer, faster writes. For example, a nightly load that builds SQL strings and issues one insert at a time could move to precompiled statements with bound parameters and batch updates. The syllabus covers both, plus transaction control for committing or rolling back the whole load.
- Moving to managed connections. A team might migrate an application from direct
DriverManagerconnections to a container-managedDataSourcelooked up through JNDI with connection pooling. The syllabus's coverage of theDataSourceinterface, J2EE and JNDI is the relevant background.
AI coding assistants and JDBC
AI coding assistants are good at boilerplate: a DAO skeleton, a value object that mirrors a table, or a loop that maps a ResultSet to objects. They can also explain an unfamiliar SQLException or draft unit tests.
They tend to fail on the details this course stresses:
- Building SQL by string concatenation instead of precompiled statements with bound parameters, which invites injection.
- Leaving statements, result sets or connections open on error paths.
- Mishandling NULL columns.
- Getting transaction boundaries wrong, such as leaving auto-commit on when several statements must succeed together.
- Opening a connection directly where an application should use a pooled
DataSource. - Suggesting APIs or driver behavior that does not match the project's Java version or database.
To verify, check every query for parameter binding, and trace every code path to confirm resources are closed. Test commit and rollback against a real database, including a forced failure halfway through. Compare generated code with the JDBC level your driver and runtime actually support.
Frequently asked questions
What level is this course?
It is a general-level, one-day course for programmers who already know Java and object-oriented programming. It is not an introduction to Java.
What do I need to know beforehand?
Some previous experience with Java and object-oriented programming. Familiarity with relational databases and SQL helps, since the course focuses on accessing a database from Java.
What does the course cover?
It covers the JDBC architecture, drivers and URLs, connections, statements and result sets, transactions, DAOs, DataSource with JNDI, and connection pooling. It also surveys SQLJ, JDO and EJB entity beans, and covers batch updates, rowsets and BLOB/CLOB handling. Labs use RAD and its wizards.
Can this be delivered privately for our team?
Yes. HSG provides private training for organizations, delivered onsite at your location or live online.
Can the content be customized to our Java version or database?
Private courses can be tailored to the technology versions an organization uses, including current releases. Request a training proposal to discuss your environment.
Training locations
JDBC - Java Database Connectivity Using Rational Application Developer (RAD) training across the U.S. and beyond.
We provide private JDBC - Java Database Connectivity Using Rational Application Developer (RAD) training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all JDBC - Java Database Connectivity Using Rational Application Developer (RAD) training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.