Skip to main content

Instructor-led training

Gentle Java and OO Development Using Rational Application Developer (RAD) Training in Patchogue, New York

This course covers the core OO and Java concepts that developers need to use the Java programming language to create well designed Java programs. It focuses on key OO capabilities and how to use them in Java.

What you'll learn

This course covers the core OO and Java concepts that developers need to use the Java programming language to create well designed Java programs. It focuses on key OO capabilities and how to use them in Java. This includes material on creating well designed Java classes, using encapsulation, building more complex functionality with composition, and using inheritance to share functionality and create specialized types. Understand Java's importance, uses, strengths and weaknesses. Understand Java language basics. Write, compile, and run Java programs. Understand the Object Model and Object Oriented Programming. Understand and use classes, inheritance, polymorphism. Create well designed classes and use them in your Java programs. Use composition and delegation to create objects from other objects. Understand & use packages to organize code. Be familiar with more advanced concepts such as inheritance and JDBC. Learn good Java coding style. Create well structured Java programs. Compile and execute programs with the Java JDK and with an Integrated Development Environment (IDE) of your choice. Use the newest features of Java.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Patchogue, New York 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

A working knowledge of Java.

Course Outline

1: A First Look
 
A Simple Java Class
Java’s “Hello World” Program
LABS: 
Hello World:  A Simple Application
 
2: Java Basics
 
Language and Platform Features
Program Life Cycle
The Java SE Development Kit (JDK)
LABS: 
Working with the Development Environment
 
3: Class and Object Basics
 
The Object Model and Object-Oriented Programming
Classes, References, and Instantiation
Adding Data to a Class Definition
Adding Methods (Behavior)
LABS: 
Exploring Types and Object Instances
Writing and Using a Class Definition with Fields and Methods
 
4: More on Classes and Objects
 
Accessing data, the "this" variable
Encapsulation and Access Control, public and private Access
Constructors and Initialization
static Members of a Class
Scopes, Blocks, References to Objects
LABS: 
Encapsulation / Access Protection
Writing and Using Constructors
(Optional) Static Members
Using the Debugger
 
5: Flow of Control
 
Branching: if, if-else, switch
Iteration: while, do-while, for, break, continue
LABS: 
Flow of Control / Data Validation
 
6: Strings and Arrays
 
String, StringBuffer, StringBuilder
Arrays, Primitive Arrays, Arrays of Reference Types
varargs
LABS: 
Using Strings and Arrays
 
7. Packages
 
Package Overview - Using Packages to Organize Code
import statements
Creating Packages, package Statement, Required Directory Structure
Finding Classes, Packages and Classpath
LABS:
Using Packages to Organize Code
 
 
Session 8: Composition and Inheritance
 
Using Composition to Deal With Complexity
Composition/HAS-A, Delegation
Using Inheritance and Polymorphism to share commonality
IS-A, extends, Inheriting Features, Overriding Methods, Using Polymorphism
Class Object
Abstract Classes
LABS:
(Optional) Working with Composition
Using Inheritance to Specialize Classes
 
Session 9: Interfaces Overview
 
Using Interfaces to Define Types
Interfaces and Abstract Classes
 
Session 10: Exceptions
 
Exceptions and the Exception Hierarchy
try and catch
Handling Exceptions
Program Flow with Exceptions
finally
LABS:
Throwing and Handling Exceptions
 
Session 11: JDBC
 
JDBC basics
JDBC Architecture
Using JDBC drivers & DriverManager
Class Connection and connecting to a database
Class Statement and executing SQL statements
Other statement types
LABS:
Connecting and Querying using JDBC
 
Session 12: Java Collections and Generics
 
The Collections Framework and its API
Collections and Java Generics
Collection, Set, List, Iterator
Autoboxing
for-each Loop
LABS: 
Using Lists and Generics
 
Session 13: Additional Java Features
 
Type-safe Enums
Additional Features in Java 6 and Java 7

What makes this material hard to master

The syntax is not the main hurdle. Object-oriented design is. A developer can write correct Java and still produce one long class full of static methods. The syllabus works against that habit in a deliberate order.

  • Objects first (sessions 3-4). Classes, references and instantiation come before anything else. Then this, public and private access, constructors, and static members. The common misconception is that a variable holds an object, when it holds a reference to one. Scope and reference behavior are covered here for that reason.
  • Organizing code (sessions 5-7). Flow of control, String, StringBuilder, arrays and varargs lead into packages. Packages bring the required directory structure and classpath, which cause many early "class not found" errors.
  • Reuse (sessions 8-9). Composition (HAS-A) and delegation are taught beside inheritance (IS-A), overriding, polymorphism, Object and abstract classes. Interfaces follow, including how they differ from abstract classes. Choosing between composition and inheritance is a design judgment that takes practice.
  • Failure and data (sessions 10-12). The exception hierarchy, try/catch/finally and exception program flow come before JDBC. JDBC covers drivers, DriverManager, Connection and Statement. Collections cover List, Set, Iterator, generics, autoboxing and the for-each loop.
  • Language additions (session 13). Type-safe enums and additional Java 6 and Java 7 features.

The labs follow the same order, from a first class to encapsulation, constructors, inheritance, exceptions, a JDBC query and generic lists. The target language level is Java SE 7 and earlier, which is out of support.

Who it suits and what to take next

This is an introductory, four-day course. The listed prerequisite is a working knowledge of Java. It suits developers who have written some Java and want a firmer grounding in classes, encapsulation, composition, inheritance, interfaces and exceptions. It also suits teams that maintain existing Java applications and want a shared vocabulary for how those programs are structured.

For the next step, Advanced Java Programming builds on this foundation for developers ready to go beyond core language and object-model material. Organizations whose systems have moved to newer Java releases can look at Fast Track to Java 25 and OO Development. Java SE 25 is a supported LTS release, and that course covers the same object-oriented ground at a newer language level. Teams that need a specific version mix can request a training proposal for tailored private training.

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.

  • Maintaining a legacy codebase. A team might inherit an application written at the Java 6 or Java 7 level. Packages, classpath, the inheritance and interface material, and the Java 6 and 7 feature session help them read existing class hierarchies and package layouts before changing them.
  • Moving from procedural habits. Developers experienced in another language might need to restructure a script-like program. Encapsulation, constructors, composition with delegation, and polymorphism give them the means to split it into cooperating classes.
  • A small database utility. A team might write a reporting tool that connects through JDBC, runs a query with a Statement, handles failures with try/catch/finally, and returns results in a generic List. That combines the JDBC, exceptions and collections sessions.

AI coding assistants with these topics

AI coding assistants are useful for the mechanical parts of this material. They can draft fields, constructors and accessors, outline a class hierarchy, or explain a compiler error about packages or the classpath. They work well as a second reader for unfamiliar legacy classes.

They fail in predictable ways here:

  • Language level. Suggestions may use syntax newer than the project's Java level, so the code does not compile. Compile against the project's actual JDK.
  • Design. Assistants often reach for inheritance where composition and delegation fit better, or put all behavior in one class. Check each IS-A relationship against the actual domain.
  • Exceptions. Generated code may swallow exceptions with empty catch blocks or skip cleanup in finally.
  • JDBC. SQL assembled by string concatenation is an injection risk. Review every query that includes input.
  • Collections. Raw types and misused autoboxing are easy to generate and easy to miss.

To verify, compile and run the code in the debugger, step through object state, and write small tests for behavior you can state in one sentence. Learning to do this is a good reason to write the first versions of the labs yourself.

Frequently asked questions

What level is this course?

It is introductory and runs four days. It covers core object-oriented concepts in Java, from classes and encapsulation through inheritance, interfaces, exceptions, JDBC and collections with generics.

What should I know before attending?

The listed prerequisite is a working knowledge of Java. The syllabus starts with a first class and a Hello World program, so it also serves developers who want to firm up fundamentals.

Which Java version does it use?

The syllabus targets Java SE 7 and earlier and includes a session on Java 6 and Java 7 features. Java SE 7 and earlier is out of support. The course suits teams that build, maintain or migrate systems at that level.

Can the course be delivered privately for our team?

Yes. Private training can be delivered onsite at your location or live online.

Can the content be customized, for example for newer Java releases?

Private courses can be tailored to the technology versions an organization uses, including current releases. Submit a training proposal request to describe your needs.

Training locations

Gentle Java and OO Development Using Rational Application Developer (RAD) training across the U.S. and beyond.

We provide private Gentle Java and OO Development Using Rational Application Developer (RAD) training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Gentle Java and OO Development 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
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.