Instructor-led training
Intermediate Java 7 and OO Development Training in Minden, Louisiana
Intermediate Java and OO Development is a fast paced, 5 - day course suitable for programmers with some previous experience in working with Java and Object - Oriented (OO) programming.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Minden, Louisiana 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
1. Getting Started
A Simple Applications Class
Compiling HelloWorld
Java Source and Java Bytecode
Life Cycle of a Java Program
Java Programs Insulated From
Environment
Java is Dynamic-The Runtime Process
2. Class and Object
Defining Classes
The Class in Java
Storing Data in Objects
Behavior and Methods
Data Access and Return Values in
Methods
Pretty Pictures
About Java Primitive Data Types
Strings
Working with Methods and Data
Local Variables
Overloading Methods
The toString() Method
Encapsulation: Black Boxes
Private Access
Constructors
Other Capabilities
Static Members
Accessing Static Members
final Variables
Comparison
Null objects
Wrapper Classes
3. Review-Flow of Control,String and Array
Flow of Control
The Comparison Operators
The Logical Operators
Statements
Using Strings
Arrays-Types
4.Review-Packages
Packages
Importing
Resolving Naming Conflicts
Creating a Package
Access Control for Class Members
Finding Classes
Organizing Files and Packages
Class Path
What is JAR?
5. Composition and Inheritance
Composition
Delegation
Benefits/Issues with
Composition
Relationships
Inheritance and Dealing with Complexity
Inheritance Hierarchy
Inheriting from the Superclass
Constructors and Inheritance
Overriding and Polymorphism
Changing Behavior
OO Concepts-Polymorphism
Access Control-protected Access
Class Object
Abstract Classes
6. Interfaces
Interface Types
Interface Definitions
Implementing Extended Interfaces
Interfaces are Abstract
Data Members in Interfaces
Multiple Interfaces
7. Exceptions
Exception Hierarchy
Handling Exceptions
Program Flow with Exceptions
Variable Scope
Throwing Exceptions with throw
User-Defined Exceptions
Multiple catch Blocks
Multicatch (Java 7)
8. Collections and Generics
Java Collections Framework
java.util Collection Interfaces
Collection Interfaces
List and ArrayList
Autoboxing
Summarizing Collection Features
Collections of Object
Other Collection Types
Using Sets
Map Interface
HashMap
Iterator
More about Generics
The Collection Class
9. Database Access with JDBC & JPA
What is JDBC?
JDBC Architecture
The Fundamental JDBC API
Common JDBC Types
Naming Databases with URLs
The Item Database Table
JPA Overview
JPA Architecture
Working with JPA
Entity Classes
MusicItem Entity Class
The Persistence Unit
The Entity Manager
Working with Transaction
Using JPA
10. Additional Language Features
Assertions
Type-Safe Enums
Advanced enum Features
Annotations
The Issue
Other Java Features
11. I/O Streams
Character Streams
Class Readers and Writers
Filter Streams
Converting between Streams and Readers/Writers
Byte Stream Classes
Formatted Output
Format Specifier Modifiers
New I/O (NIO) APIs
NIO Features
12. Nested / Inner Classes
Why Use Inner Classes?
Types of Inner Classes
Anonymous Inner Classes
Static Inner Classes
Using Inner Classes
13. Reflection
The Class Class
Getting Class Instances
Inspecting with Reflection
Working with Constructor Objects
Invoking with Reflection
14. Introduction to ant
What is an ant?
Installing and Running ant
ant Basics
ant Buildfiles and Projects
ant Tasks
A Complete Buildfile
How is ant Useful?
15. Working with Paths and Resource Collections
Paths
Specifying the Classpath
Resource Collections
Patterns
Using
16. ant Tasks
Creating Archives with
Creating Web Archives with
File Related Tasks
Other Useful Tasks
17. maven Overview
About Maven
Acquiring / Installing Maven
Maven Concepts
The POM (Project Object Model)
Repositories
Using Maven
Common maven Commands
Creating Project Structure
Setting Java Version
18. JUnit
JUnit Overview
Writing JUnit Tests
Testing for Exceptions
Running the Tests
The Result and Failure Classes
19. Organizing Tests with JUnit
Fixtures and Suites
Setting up Ant for Using
20. Introduction to Logging & log4j
Loggers, Levels, Appenders
Using Loggers
Log4j Appenders
Configuring Appenders & Loggers
Logger Hierarchy
Level Inheritance
Configuring Appenders
Layouts-Pattern & HTML
Other Details
Disabling Debugging and Performance
Apache Commons Logging
Recap
Tools Resources
Where the difficulty lies in intermediate Java and OO
Most participants already write working Java. The harder step is designing classes so they stay maintainable. The syllabus starts with a short review of classes, objects, flow of control, strings, arrays and packages, then builds in layers.
- Design relationships (module 5). Composition and delegation are taught alongside inheritance, overriding, polymorphism,
protectedaccess, theObjectclass and abstract classes. A common misconception is that inheritance is the default way to reuse code. The course sets out the benefits and issues of composition so the trade-off can be judged. - Contracts (modules 6-7). Interfaces, multiple interfaces and extended interfaces are followed by the exception hierarchy, user-defined exceptions, multiple
catchblocks and Java 7 multicatch. Variable scope and program flow with exceptions are covered too, and these are where subtle bugs appear. - Collections and generics (module 8). Lists, sets, maps, iterators and autoboxing look simple. Generics add compile-time type checking that does not exist at runtime, which surprises many developers.
- Persistence (module 9). JDBC architecture and the fundamental API come first, then JPA entities, the persistence unit, the entity manager and transactions. Learners must keep two models in mind: rows and result sets, and managed objects.
- Language features and APIs (modules 10-13). Assertions, type-safe enums, annotations, readers/writers and byte streams, NIO, inner and anonymous classes, and reflection. Reflection is powerful but bypasses compile-time checks.
- Tooling (modules 14-20). ant buildfiles, paths and resource collections, a Maven overview (POM, repositories, setting the Java version), JUnit tests, fixtures and suites, and log4j with Apache Commons Logging.
Who it suits and what to take around it
The course suits programmers who have written some Java and know basic OO ideas, and who want to move from working code to well-structured systems. Participants who need a stronger base can start with Introduction to Java Programming Version 8.0, which covers fundamentals this course only reviews.
The syllabus targets Java SE 7 and earlier, which is out of support and no longer on Oracle's support roadmap. The course therefore fits organizations that build, maintain, support or migrate existing systems on those releases. Teams working on newer releases can ask about private training tailored to the versions they use through a training proposal. A natural next step for those teams is Intermediate and Advanced Java 8, which continues past this course's material. Developers who want more depth on the JPA topics in module 9 can look at Fast Track to EJB 3.0 and the JPA Using JBoss. More options are 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.
- Untangling a class hierarchy. A team might inherit an application where deep inheritance makes changes risky. The composition, delegation, abstract class and interface topics give them a vocabulary for deciding what to refactor, and the exception topics for making failures explicit.
- Moving hand-written data access to JPA. A team might maintain code built on JDBC connections and result sets. Understanding the JDBC architecture, entity classes, the persistence unit, the entity manager and transactions helps them see what an ORM replaces and what it still leaves to them.
- Making a build and test process repeatable. A team might have builds that depend on one developer's machine. Ant buildfiles, Maven's POM and repositories, JUnit fixtures and suites, and log4j configuration with Commons Logging show how to script builds, automate tests and make runtime behavior visible.
AI coding assistants with these topics
Where they help. AI coding assistants can draft JUnit tests, boilerplate for entity classes, toString() methods and enums, and ant or Maven snippets. They can also explain unfamiliar legacy code, including reflection-heavy or inner-class-heavy sections.
Where they fail.
- They often produce code for a newer Java release than the one a project uses. Check the language level against the project's configured Java version, which is what the Maven "setting Java version" topic covers.
- Generated
equals/hashCode, inheritance hierarchies and exception handling may compile but violate contracts, for example by swallowing exceptions or catching overly broad types. - JDBC and I/O suggestions can leak connections or streams, and JPA suggestions can ignore transaction boundaries.
- Logging configuration may mix syntax from different log4j major versions, and ant or Maven files may reference tasks or plugins the project does not use.
How to verify. Compile and run under the project's actual Java version, write JUnit tests for exceptions and edge cases before accepting generated code, and inspect resource closing and transaction handling by hand. For anything involving reflection, confirm behavior with a test, since the compiler will not catch mistakes.
Frequently asked questions
What level is this course?
Intermediate. It begins with a short review of classes, flow of control, strings, arrays and packages, then moves to composition, inheritance, interfaces, exceptions, collections, JDBC and JPA, I/O, inner classes, reflection and build and test tools.
What should I know beforehand?
Some previous experience with Java and with object-oriented programming. If you are new to Java, the Introduction to Java Programming Version 8.0 course is the usual starting point.
Which build, test and logging tools does it cover?
ant (buildfiles, paths, resource collections, archive and file tasks), a Maven overview (POM, repositories, common commands), JUnit (tests, fixtures, suites, ant integration), and log4j with Apache Commons Logging.
Can this be delivered privately for our team, onsite or online?
Yes. HSG provides private training for organizations, delivered at the client's location or live online.
Can the content be customized or adapted to a different Java version?
Private courses can be tailored to the technology versions an organization uses, including current releases. Send the details through a training proposal request and describe your environment and goals.
Training locations
Intermediate Java 7 and OO Development training across the U.S. and beyond.
We provide private Intermediate Java 7 and OO Development training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Intermediate Java 7 and OO Development 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.