Skip to main content

Instructor-led training

Intermediate Java Programming Training in Gary, Indiana

This intensive, hands-on, two day course focuses on enhancing developers skills in the Java API libraries.

What you'll learn

This intensive, hands-on, two day course focuses on enhancing developers skills in the Java API libraries. Students will learn to use common API packages, such collections for storing groups of objects, Swing for building GUI applications, and JDBC for accessing a database. Students will also learn to use inner classes and regular expressions within their Java applications.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Gary, Indiana 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 Training

Prerequisites

Introduction to Java or equivalent experience is required.

Course Outline

 Collection Sorting and Tuning
Using Java 5.0 Features with Collections
Sorting with Comparable
Sorting with Comparator
Sorting Lists and Arrays
Collections Utility Methods
Tuning ArrayList
Tuning HashMap and HashSet

 Inner Classes
Inner Classes
Member Classes
Local Classes
Anonymous Classes
Instance Initializers
Static Nested Classes

 Introduction to Swing
AWT and Swing
Displaying a Window
GUI Programming in Java
Handling Events
Arranging Components
A Scrollable Component
Configuring Components
Menus
Using the JFileChooser

 Introduction to JDBC
The JDBC Connectivity Model
Database Programming
Connecting to the Database
Creating a SQL Query
Getting the Results
Updating Database Data
Finishing Up

 JDBC SQL Programming
Error Checking and the SQLException Class
The SQLWarning Class
JDBC Types
Executing SQL Queries
ResultSetMetaData
Executing SQL Updates
Using a PreparedStatement
Parameterized Statements
Stored Procedures
Transaction Management
 Advanced JDBC
JDBC SQL Escape Syntax
The execute() Method
Batch Updates
Updatable Result Sets
Large Objects
Working with Savepoints
RowSets
CachedRowSet
DataSources

 Regular Expressions
Pattern Matching and Regular Expressions
Regular Expressions in Java
Regular Expression Syntax
Special Characters
Quantifiers
Assertions
The Pattern Class
The Matcher Class
Capturing Groups

 Appendix A - Swing Events and Layout Managers
The Java Event Delegation Model
Action Events
List Selection Events
Mouse Events
Layout Managers
BorderLayout
FlowLayout
GridLayout
BoxLayout
Box
JTabbedPane
 

What makes this material hard to master

The two days cover four unrelated library areas, and each has its own trap. The skill is knowing how each API behaves, not just which methods exist.

  • Collections. Sorting looks simple until you must choose between Comparable (one natural order built into the class) and Comparator (separate, swappable orderings). The tuning topics for ArrayList, HashMap and HashSet assume you understand how those structures grow and hash. A common misconception is that a hash-based collection is fast no matter how the element class defines equality and hash codes.
  • Inner classes. Member, local, anonymous and static nested classes, plus instance initializers, differ in scope and in their link to an enclosing instance. Learners often treat them as interchangeable syntax.
  • Swing. The difficulty is the event delegation model and layout managers. Code that compiles can still produce a window that resizes badly or a listener wired to the wrong component.
  • JDBC. The syllabus moves from connecting and running queries to PreparedStatement, stored procedures, transaction management, batch updates, savepoints, updatable result sets, large objects, RowSets, CachedRowSet and DataSources. The main misconception is that database code is only about query syntax. Much of the real work is error handling through SQLException and SQLWarning, mapping JDBC types, and deciding where transactions begin and end.
  • Regular expressions. Syntax, quantifiers, assertions and capturing groups are dense. The Pattern and Matcher classes add a second layer: knowing when a match must cover the whole input and when it can match a fragment.

The topics build loosely. Inner classes underpin the anonymous listeners used in Swing event handling. Collections and JDBC meet when result data is stored and sorted.

Who it suits and what to take around it

This is an intermediate course. It requires Introduction to Java or equivalent experience, so you should already be comfortable with classes, inheritance, exceptions and basic syntax. It suits developers who maintain or extend existing Java applications and need working command of the standard libraries. It also suits teams supporting desktop tools, data-access code or text-processing utilities.

The syllabus is built around Java 5.0 collection features, and the version named for this course is Java SE 7 and earlier, which is out of support. The course therefore fits organizations that build, maintain, support or migrate systems on those releases. Teams working on newer releases can ask about a tailored private training proposal.

If your Java foundation is thin, Fast Track to Java for OO Developers is a broader introductory option that builds object-oriented fundamentals first. For the next step, Advanced Java Programming (3 days) is the advanced-level course in the same track. The Java Programming learning guide shows the wider set of options.

Illustrative applications

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.

  • An internal data-maintenance tool. A team might build a Swing desktop utility with menus, a file chooser and tabbed panels that edits database records. It would use PreparedStatement for parameterized updates, transaction management to keep multi-row changes consistent, and a CachedRowSet to work with data disconnected from the database.
  • A bulk import job. A developer might load thousands of rows from a text export. Regular expressions with capturing groups would validate and split each line. Batch updates and savepoints would load the rows and allow a partial rollback when a record fails.
  • Sorted reporting over legacy code. A maintenance team might add several sort orders to an existing report. It would use Comparator implementations, anonymous classes for one-off orderings, and the collection utility methods. It would then review how HashMap and ArrayList are sized in hot paths.

AI coding assistants with these topics

AI coding assistants are useful for boilerplate here: a first-draft Comparator, a Swing layout skeleton, repetitive JDBC connect-query-close code, or a starting regular expression with an explanation of each part. They can also explain unfamiliar inner-class code in a legacy codebase.

They fail in predictable ways for this material:

  • Version mismatch. Suggestions often use language features or library calls newer than the runtime the project targets. Compile against the actual target release.
  • SQL safety. Generated code may build SQL by string concatenation. Check that user input goes through parameterized statements, and that connections, statements and result sets are closed on every path, including errors.
  • Transactions. Assistants rarely reason about where a transaction should begin and end, or what a failure should roll back to. Review commit, rollback and savepoint logic by hand.
  • Regular expressions. A pattern that passes the example the assistant chose may fail on empty input, on extra whitespace, or when nested quantifiers cause heavy backtracking. Test with deliberately awkward inputs.
  • Equality contracts. Generated element classes may override equals without hashCode, which quietly breaks HashSet and HashMap.
  • Swing behavior. Generated GUI code may run slow database calls directly in event handlers, which freezes the window.

To verify, write unit tests for sort orders and parsing, run database code against a scratch schema, and read every generated listener and query as if a colleague had written it.

Frequently asked questions

What level is this course and what do I need beforehand?

It is intermediate. Introduction to Java or equivalent experience is required, so you should already know core syntax, classes and exception handling.

What does the two-day syllabus cover?

Collection sorting and tuning, inner classes, Swing basics, JDBC (basic through advanced topics such as batch updates, savepoints, RowSets and DataSources), and regular expressions with the Pattern and Matcher classes. An appendix covers Swing events and layout managers.

Which Java version does the course use?

The material is written for Java SE 7 and earlier, which is out of support. It suits teams maintaining or migrating existing applications on those releases. Private training can be tailored to the versions an organization uses.

Can this be delivered privately for our team, onsite or online?

Yes. HSG provides private training for organizations, delivered onsite at the client's location or live online.

Can the content be customized?

Private course content can be customized, for example to emphasize JDBC or collections, or to match the Java version your systems run. You can request a proposal through the Contact page.

Training locations

Intermediate Java Programming training across the U.S. and beyond.

We provide private Intermediate Java Programming training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Intermediate Java Programming 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
Request Group Training

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.