Skip to main content

Instructor-led training

Intermediate Java 7 Using Rational Application Developer (RAD) Training in Cologne, Germany

This 5-day course includes a short review of basic Java concepts, and then moves on to a comprehensive coverage of more advanced topics in Java and OO programming to provide participants with a strong grounding in using Java in a sophisticated and productive manner.

What you'll learn

This 5-day course includes a short review of basic Java concepts, and then moves on to a comprehensive coverage of more advanced topics in Java and OO programming to provide participants with a strong grounding in using Java in a sophisticated and productive manner. This course goes well beyond the basics of Java and OO programming and covers important topics such as composition, inheritance, polymorphism, interfaces and exceptions, which are all key to creating well-structured OO systems using Java. After coverage of these important areas, it moves on to more advanced topics such as JDBC and JPA 2 (for database access), the Java Collections Framework - including the important generics capabilities, Java I/O, assertions, inner classes, and the reflection API. Finally it covers useful tools for day-to-day programming such as ant, maven, JUnit and various logging frameworks. This course covers far more than an introductory course, and provides participants with a comprehensive understanding of how to use Java's advanced capabilities in a more sophisticated manner. It teaches a number of useful techniques that enhance productivity and good system design - which Java programmers may otherwise take years to absorb on their own.

Private Training for Teams

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

Suitable for programmers with some previous experience in working with Java and Object-Oriented (OO) programming (equivalent to taking our Gentle Java course).

Course Outline

Session 1: Review - Getting Started
Writing and Running Java programs
Setting up and Using the Development Environment
 
Session 2: Review - Class and Object
Creating classes with fields and methods
Encapsulation and access protection
Constructors
Other Capabilities (Static Members, null, final, Wrapper Classes
 
Session 3: Review - Control Flow, String, and Array
Flow of Control
Strings
Arrays
 
Session 4: Review - Packages
Using packages to organize code
Using import
Creating Packages
Package Organization and Classpath
LABS:
Using Packages to Organize Code
 
Session 5: 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 6: Interfaces
Programming by Contract
Using Interfaces to Define Types
Interfaces and Polymorphism
LABS:
Using Interfaces to Remove Implementation Dependencies
 
Session 7: Exceptions and Error Handling
Exceptions
Exception Hierarchy
try and catch
Handling Exceptions
Program Flow with Exceptions
Finally
LABS:
Handle Exceptions
Define Exception Class
 
Session 8: Collections and Generics
The Collections Framework
Collection Interfaces
Collection, Set, List, Map, Iterator
Generics  (Java 5)
Processing Items With an Iterator
for-each Loop (Java 5)
Using ArrayList
Using HashMap
More About Generics (Inheritance, Wildcards, Assignment)
LABS: 
Using Collections
 
Session 9: JDBC and the JPA
JDBC Overview and Architecture
JDBC Connections, Statements, and Queries
Introduction to JPA (Java Persistence API)
Object-Relational Mapping (ORM) and JPA Architecture
Entity Class Introduction
Mapping Entity classes with @Entity, @Id, @Table, and more
Persistence Units, persistence.xml, the EntityManager and EntityManagerFactory
Using JPA to Work with Persistence Entities
JPQL and Querying with JPA
LABS: 
Mapping a Simple Class
Using JPA to Access Persistent Entities
Inserting, Querying, and Other Capabilities
 
Session 10: Additional Java Features
Assertions
Type-safe Enums
Annotations
 
Session 11: I/O Streams
Readers and Writers
Filter Streams
InputStreams and OutputStreams
Converting Between Streams and Readers/Writers
New I/O (NIO) APIs
LABS:
Formatting with Java I/O
 
Session 12: Inner Classes
Why Use Inner Classes?
Named Inner Classes
Static Inner Classes
Anonymous Inner Classes
LABS:
Using Named Inner Classes
Using Anonymous Inner Classes
 
Session 13: Reflection
The class called Class
Finding Fields, Methods, and Constructors
Accessing Fields, Invoking Methods
Examining Arrays
LABS:
Examining Objects Using Reflection
Accessing Fields and Invoking Methods via Reflection
 
Session 14: Introduction to ant
ant Overview, Installing and Running ant
Buildfiles, Projects, Targets, Tasks, Properties
Creating Build Files
Paths(e.g. CLASSPATH, PATH)
Resource Collections - FileSets, DirSets, Files, PatternSets
LABS: 
Running ant
Creating and Using Buildfiles
Using Basic ant Tasks
 
Session 15: maven Overview
Introduction and Installation
Maven Concepts and the POM (pom.xml>
Dependencies and Repositories
Using maven to build Java projects
LABS: 
Using maven
 
Session 16: JUnit Basics
JUnit Overview, Test Driven Development
Tests and Assertions
Working With Exceptions
LABS:
Writing and Running Tests
Testing Exceptions
 
Session 17: Organizing Tests with JUnit
Writing Fixtures - @Before, @After
Test Suites, and Other Capabilities
Mock Objects
LABS:
Using Fixtures
Using Suites
 
Session 18: Introduction to Logging and log4j
Logging Overview
log4j Overview
Loggers, Appenders, Layouts
Configuring and Using log4j
Logger Hierarchy and Logging Levels
Working With Appenders
Using PatternLayout
Other Logging Frameworks (Java Logging, Apache Commons Logging)
LABS:
Setting Up log4j
Using Basic log4j Logging
Working With Loggers
Working With Appenders
Using Layouts

What makes this material hard to master

The first four sessions review Java basics, so the difficulty starts at session 5. It comes from design judgment more than syntax, and each block depends on the one before it.

  • Composition, inheritance and interfaces (sessions 5-6). Many developers reach for extends by habit. The syllabus covers HAS-A and delegation first, then IS-A, overriding, polymorphism, the Object class and abstract classes. Interfaces follow, framed as programming by contract and as a way to remove implementation dependencies.
  • Exceptions (session 7). Writing try/catch is easy. Deciding what to catch, how the exception hierarchy shapes that choice, what finally means, and when to define your own exception class is harder.
  • Collections and generics (session 8). Choosing among List, Set and Map is manageable. Wildcards and the way generics interact with inheritance and assignment are where compile errors confuse people.
  • JDBC and JPA (session 9). JDBC connections, statements and queries come first. Then comes object-relational mapping: @Entity, @Id, @Table, persistence units, EntityManager and JPQL. A common misconception is that JPA hides the database. Query cost and loading behavior still matter.
  • Language features and APIs (sessions 10-13). Assertions, type-safe enums, annotations, I/O streams, inner classes and reflection. Reflection and annotations are easier to follow once interfaces and the Class object are familiar.
  • Tooling (sessions 14-18). ant, maven, JUnit (fixtures, suites, mock objects) and log4j. These are usually learned piecemeal on the job. Here they sit on top of the language material so that you can build, test and log the code you wrote earlier in the week.

Who it suits and what to take around it

The course is intermediate. It assumes some Java and object-oriented experience, equivalent to HSG's Gentle Java course. Sessions 1-4 review basics (classes, control flow, strings, arrays, packages) as a refresher, not as a first introduction.

The course uses Java SE 7, which is out of support according to the lifecycle information HSG tracks. It therefore fits teams that build, maintain, support or migrate existing Java 7-era systems. Organizations on newer releases can request a training proposal for private training tailored to the versions they run.

After this course, Advanced Java Programming is a natural next step for developers who want to go deeper than the session 9-13 topics. Teams that want to automate the ant or maven builds and JUnit tests they write here can continue with Continuous Integration with Jenkins. Other Java 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.

  • Replacing hand-written data access. A team might maintain a service full of JDBC connection and statement code. The session 9 material on entity mapping, persistence units, EntityManager and JPQL shows how that code could be reorganized around mapped classes, and the course teaches both approaches.
  • Making a legacy codebase testable. A team might inherit code with no tests, ad hoc console output and a fragile build. Interfaces (session 6) let them substitute dependencies, JUnit fixtures and mock objects (sessions 16-17) let them test in isolation, log4j loggers and appenders (session 18) replace print statements, and ant or maven (sessions 14-15) make the build repeatable.
  • Building a configurable component. A developer writing a small plug-in mechanism might combine annotations (session 10), reflection to find and invoke methods (session 13) and anonymous inner classes for callbacks (session 12).

Using AI coding assistants with these topics

AI coding assistants are useful for repetitive Java work: drafting JUnit test skeletons, writing getters and entity annotations, suggesting log4j configuration, and explaining an unfamiliar generics error.

They fail in predictable ways on this material:

  • Version drift. Suggestions often use syntax and APIs from newer Java releases, which will not compile against Java SE 7. Build code with the project's actual compiler level.
  • Library mismatch. Logging and test configuration varies between library versions, so generated log4j or JUnit setup may not match the version on your classpath.
  • Persistence behavior. A generated JPA mapping can compile and still cause lazy-loading surprises or one query per row. Turn on SQL logging and inspect what runs.
  • Contracts. Generated equals/hashCode implementations, overly broad catch blocks and string-built queries are common problems. Check them against what you learn in the inheritance, exceptions and JDBC sessions.

To verify, compile and run the tests yourself, write tests for generated code before trusting it, and review it as you would a colleague's change.

Frequently asked questions

What level is this course?

Intermediate. It starts with a short review of Java basics and then covers composition, inheritance, interfaces, exceptions, collections and generics, JDBC and JPA, I/O, inner classes, reflection, and tools such as ant, maven, JUnit and log4j.

What should I know before attending?

Some previous Java and object-oriented programming experience, equivalent to HSG's Gentle Java course. The opening sessions review the basics but do not teach programming from scratch.

Which Java version does it use?

Java SE 7, which is out of support. The course serves organizations that maintain or migrate existing systems on that version. Organizations on newer releases can ask about tailored private training.

Can the course be delivered privately for our team?

Yes. HSG delivers private training onsite at your location or live online, and the content can be customized. You can request a proposal through the training proposal link on this page.

Can the content be adjusted to our needs?

Private courses can be customized, for example by emphasizing JPA, testing and logging, or build tooling, or by tailoring to the Java versions your team uses.

Training locations

Intermediate Java 7 Using Rational Application Developer (RAD) training across the U.S. and beyond.

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

View all Intermediate Java 7 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.