Skip to main content

Instructor-led training

Advanced Java Programming Training in Horseheads, New York

Client/server applications can be written utilizing both the java.net and java.rmi packages.

What you'll learn

Client/server applications can be written utilizing both the java.net and java.rmi packages. Security is also covered in detail throughout several chapters including security policies and data encryption. XML parsing is done using the JAXP API. Programmers can use C and C++ functions from their Java programs using JNI. The course ends with several chapters on design patterns and how they can be put to best use in different types of Java applications.

Private Training for Teams

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

Either Java Programming or Java Fundamentals for Non-C Programmers is required.

Course Outline

Advanced I/O - Object Serialization
What is Serialization?
Serializable Objects
Writing an Object
Reading an Object
Handling Exceptions
Customizing Serialization
Controlling Serialization
Versioning

Advanced I/O - New I/O
The java.nio package
Buffers and Channels
Buffer Implementations
Buffer Methods
ByteBuffer Methods
FileChannel
File Locking
MappedByteBuffer
Transferring Data Between Channels
Character Sets

Reflection
Introduction to Reflection
The Class Class
The reflect Package
Constructors
Fields
Methods
Exception Handling and Reflection
JavaBeans
Dynamic Programming

Advanced JDBC
JDBC SQL Escape Syntax
The execute() Method
Batch Updates
Updatable Result Sets
Large Objects
Working with Savepoints
RowSets
CachedRowSets
DataSources

Networking with Sockets
Clients and Servers
Ports, Addresses and Protocols
The Socket Class
Communication Using I/O
Servers
The ServerSocket Class
Concurrent Servers
The URL Class
The URLConnection Class

Remote Method Invocation
Distributed Applications
Stubs
Steps to Create a Remote Object
An RMI Client
An RMI Server
RMI Classes and Interfaces
Class Distribution
RMI Utilities
Parameter Passing and Serialization
Advanced RMI
Client Callbacks
Dynamic Class Loading
Activation
Activatable Objects
Registering Activatable Objects
Security and Activation
JNDI and RMI Registry
RMI-IIOP
Managing Security Policies
Untrusted Code
Security Managers
The Java Security Model
Policy Entries
Policy Files
Using the Policy Tool
Securing Applets
Securing Applications

Keys, Signatures, and Certificates
Jar Files
Data Security Concerns
Message Digests
Digital Signatures
Using keytool
Using jarsigner
Certificates
Certificate Chains
Managing Keys and Certificates
Security Policies for Signed Code

Encryption with the javax.crypto Package
Cryptography Concepts
Encryption Keys
Cipher Algorithms
Modes and Padding Schemes
The Cipher Class
Encrypting and Decrypting Data
Cipher Output Stream
Cipher Input Stream
Encryption using Password Ciphers
Exchanging Encrypted Keys
Sealed Objects Java Authentication and Authorization Service (JAAS)
Authentication and Authorization
JAAS Overview
LoginContext
Subjects, Principals, and PrivilegedActions
Authentication with the NTLoginModule
Defining Permissions in Policy Files
KeyStoreLoginModule
Callbacks
NameCallback and PasswordCallback
The Policy Class

Java Naming and Directory Interface (JNDI)
Naming and Directory Services
Namespaces and Contexts
Naming Operations
Bindings
Attributes
Directory Operations
DNS Lookups with JNDI
JNDI in J2EE
Parsing XML with Java - JAXP
The Java API for XML Processing
Introduction to SAX Parsing
SAXParser and JAXP
SAX Event Methods
Introduction to DOM
Parsing DOM with JAXP
The DOM API
Validation
Transformation
Native Methods
Overview of Java Native Methods and JNI
How to Create and Use Native Methods
Native Method Declaration
Using javah
Creating the Implementation Code
Compilation
Distribution
Using the Native Methods
JNI
Passing Arguments
Calling Java Methods in Native Code
JNI Signatures

Java Design Patterns - Creational Patterns
What are Design Patterns?
What are Creational Patterns?
Singleton - Introduction
Singleton - Implementation
Singleton - When to Use?
Factory Method - Introduction
Factory Method - Implementation
Factory Method - When to Use?
Builder - Introduction
Builder - Implementation
Builder - When to Use?

Java Design Patterns - Structural Patterns
What are Structural Patterns?
Facade - Introduction
Facade - Implementation
Facade - When to Use?
Adapter - Introduction
Adapter - Implementation
Adapter - When to Use?
Composite - Introduction
Composite - Implementation
Composite - When to Use?

Java Design Patterns - Behavioral Patterns
What are Behavioral Patterns?
Template - Introduction
Template - Implementation
Template - When to Use?
State - Introduction
State - Implementation
State - When to Use?
Observer - Introduction
Observer - Implementation
Observer - When to Use?

Appendix A 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

Appendix B Eclipse
Introduction to Eclipse
Installing Eclipse
Running Eclipse for the First Time
Editors, Views, and Perspectives
Setting up a Project
Creating a New Java Application
Running a Java Application
Shortcut Key Sequences
More Shortcut Key Sequences
Setting the Classpath
Importing Existing Java Code into Eclipse
 

What makes this material hard to master

This course is broad rather than deep in one place. The difficulty is that each block opens a different part of the platform, and several blocks depend on earlier ones.

  • Serialization is the base for remote work. Serializable objects, customizing and controlling serialization, and versioning come first. They return in RMI's parameter passing, in sealed objects, and in the security material. A common misconception is that serialization is just a way to save objects to disk. Class evolution, transient state and custom read/write logic are where the real problems are.
  • Low-level I/O and reflection change how you think about data. Buffers, channels, file locking, MappedByteBuffer and character sets are a different model from stream I/O. Reflection (constructors, fields, methods, exception handling, dynamic programming) moves errors from compile time to runtime.
  • Distributed code adds failure modes. Sockets, concurrent servers and URLConnection lead into RMI: stubs, remote objects, client callbacks, dynamic class loading and activation. Network, class-distribution and policy problems all surface as runtime errors.
  • Security is the largest block and the most layered. Policy files and security managers come first, then message digests, signatures, certificate chains, keytool and jarsigner. Next are javax.crypto ciphers, modes and padding, and then JAAS (LoginContext, subjects, principals, callbacks). Learners often treat encryption, signing and authorization as one topic, but each answers a different question.
  • Integration APIs and native code. Advanced JDBC (batch updates, updatable result sets, savepoints, RowSets), JNDI, SAX and DOM parsing with JAXP, and JNI with its type signatures each have their own vocabulary.
  • Design patterns close the course. Creational, structural and behavioral patterns (Singleton, Factory Method, Builder, Facade, Adapter, Composite, Template, State, Observer) are easier to judge once you have seen the earlier APIs. Each is presented with when to use it, which matters because overusing patterns is a common mistake.

The syllabus names Java SE 7 and earlier, which is out of support according to the lifecycle information. The course therefore suits teams that maintain or migrate systems built on those releases.

Who it suits and where it fits

This is a five-day, advanced course. The stated prerequisite is either Java Programming or Java Fundamentals for Non-C Programmers, so you should already be comfortable writing and debugging core Java: classes, interfaces, exceptions and basic I/O. It suits developers who maintain or extend existing Java applications that use RMI, sockets, JDBC, JAXP or JAAS. It also suits training managers who want a team to share one grounding in these APIs before a maintenance or migration effort.

The appendices cover JDBC SQL programming and basic Eclipse use. They can help people whose database or IDE experience is thin, but they are reference material rather than the core of the week.

The Java Programming courses and learning guide show how the Java offerings fit together, which helps if you are unsure whether you meet the prerequisite. Organizations running newer Java releases can ask for a private course tailored to the versions they use through a training proposal.

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 distributed internal service. A team might inherit an application that exposes remote objects through RMI and passes complex objects between processes. The syllabus topics on stubs, parameter passing and serialization, class distribution, callbacks and the RMI registry with JNDI would help them trace failures. Serialization versioning would help them change a class without breaking existing clients.
  • Hardening a file-exchange tool. A developer might need to sign a distributed jar, protect payloads and restrict what loaded code may do. That draws on jarsigner, keytool, certificate chains, policies for signed code, and Cipher streams with password-based encryption.
  • Bulk data movement and legacy integration. A batch process might load large volumes into a relational database and read XML feeds. It would use JDBC batch updates, savepoints and transaction management, together with SAX or DOM parsing and validation through JAXP. If part of the logic lives in a C library, the JNI sections on declarations, signatures and calling Java from native code apply.

AI coding assistants with these topics

AI coding assistants are useful for boilerplate here: socket client and server skeletons, JDBC batch loops, SAX handler stubs, or a first draft of a Builder or Observer implementation. They can also explain an unfamiliar reflection or JNDI call in existing code.

They fail in predictable ways for this material:

  • Version mismatch. Assistants tend to suggest APIs and idioms from newer Java releases, or mix styles. Code for a Java SE 7-era codebase must be checked against the release the project actually builds on.
  • Security code that compiles but is unsafe. Generated cipher code may pick a weak algorithm, mode or padding, hard-code keys, or skip certificate validation. Review each choice against the cryptography concepts in the syllabus. Generated deserialization code can also be exposed to insecure deserialization, so restrict what can be read.
  • Concurrency and resource handling. Concurrent servers need correct thread handling, and channels, sockets and result sets need to be closed. Generated code often omits one or both.
  • JNI and RMI details. Native signatures and policy-file entries are easy to get subtly wrong, and the errors appear only at runtime.

To verify, write tests that exercise failure paths, run the code under the project's real policy and classpath settings, and have a person who understands the security model review every generated cryptographic or policy change.

Frequently asked questions

What level is this course?

It is an advanced, five-day course. It assumes you can already write core Java programs and moves quickly through I/O, reflection, networking, RMI, security, JNDI, JAXP, JNI and design patterns.

What do I need to know before attending?

The stated prerequisite is either Java Programming or Java Fundamentals for Non-C Programmers. You should be comfortable with core Java syntax, classes, exceptions and basic I/O.

What does the course cover?

Topics include object serialization, NIO, reflection, advanced JDBC, sockets, RMI, security policies, keys, signatures and certificates, javax.crypto encryption, JAAS, JNDI, JAXP (SAX and DOM), JNI, and creational, structural and behavioral design patterns. Appendices cover JDBC SQL programming and Eclipse.

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

Yes. HSG delivers private training for organizations either onsite at the client's location or live online.

Can the content be customized?

Private courses can be customized, including being tailored to the Java versions your organization uses. You can describe your needs in a training proposal request.

HSG Technology & Workforce Intelligence

Most relevant to Advanced Java Programming

  • Elmira College - COMP 2036 Object Oriented Programming (Java) - The Elmira College Winter 2026 course listing (as of 12/18/2025) describes a course that teaches students to write well-structured, efficient Java code. The Summer 2025 list also says the Object Oriented Programming course is taught wit (elmira.edu)
  • Mathematics and statistics, degrees and certificates, all levels awarded: 1 (2023-24 academic year; National Center for Education Statistics)
  • Institutions awarding the most mathematics and statistics degrees: Elmira College (1) (2023-24 academic year; National Center for Education Statistics)
  • Software developers, employment: 80 (May 2025; U.S. Bureau of Labor Statistics)

Selected for this course from the verified data in the section below.

80Software developersMay 2025
0.23Concentration vs. U.S.1.00 = U.S. average; May 2025
$79,250Median annual wage (computing jobs)May 2025
5Verified local technology sourcesemployers, colleges, user groups

Key findings for Java

  • The official data measures occupations, industries and degrees, not programming languages, so it cannot count Java work in the Elmira, NY metropolitan area. The Java evidence we found is educational: Elmira College and SUNY Corning Community College (in nearby Corning, NY) teach it. We found no employer-adoption or job-posting evidence for the area.
  • In our reading, Java's typical uses (back-end systems, web services, integration middleware) fit this area best as a skill for internal tools and business systems that support its engineering and manufacturing base, not for a large software-vendor sector.
  • Computer and mathematical occupations had a median annual wage of $79,250 in the Elmira, NY metropolitan area (May 2025), against $47,850 for all occupations.
  • Software developers had a concentration of 0.23 relative to the U.S. in the area (May 2025), against 1.08 for New York State. In a smaller market, portable skills matter.
  • Skills worth building include current Java releases, JUnit testing, REST services with JAX-RS or Spring Boot, and continuous integration.

Workforce: occupations, industries and pay

Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025, with a concentration of 0.42 relative to the U.S. This is a small technology labor market that pays well locally. Software developers numbered 80 (concentration 0.23), while network and computer systems administrators numbered 70 with a concentration of 1.03 and a median annual wage of $97,950. In our reading, anyone using Java here is often working near operations and systems support as well as in application development.

Talent and education pipeline

Among bachelor's degree holders in the Elmira, NY metropolitan area, 3.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), against 5.1% for the United States. The only mathematics and statistics degree recorded for the 2023-24 academic year was one bachelor's degree, awarded by Elmira College. Graduate counts are a signal to watch, not a promise of hiring. Java instruction at Elmira College and SUNY Corning suggests some local exposure to the language at the entry level.

Economy and investment

The area's economy leans toward making things. Manufacturing employment had a concentration of 1.67 relative to the U.S. (2024 annual average), and computer and electronic product manufacturing employed 387 people, up 10.9% from 349 between the 2019 and 2024 annual averages. Computer systems design and related services employed 99 people, with a concentration of 0.19. Software publishers' establishments rose from 1 to 4 over the same period, a small base worth watching. Real GDP changed -3.2% from 2018 to 2023.

How Elmira compares

AreaBachelor's or higher (ACS 2020-2024 5-year)Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year)Computer and math jobs, LQ (May 2025)Software developers, LQ (May 2025)Computer systems design industry, LQ (2024 annual average)
Elmira, NY27.2%3.3%0.420.230.19
United States35.7%5.1%1.001.001.00
New York State40.2%5.0%0.961.080.79
Columbus, IN34.1%5.2%0.550.530.60
Kokomo, IN20.8%3.2%0.250.150.14
Midland, MI36.6%5.1%0.690.410.07
Casper, WY27.7%3.5%0.330.350.25
Great Falls, MT28.4%2.9%0.440.180.21

LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.

Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.

Skills and technology fit

This part is HSG's interpretation of the data above for people learning Java. The official sources measure occupations, industries and degrees, not programming languages.

Why Java fits this regional economy. In our reading, the area's strength in production work (a concentration of 1.59 for production occupations, May 2025) and industrial engineering (1.61) points to demand for dependable software around plants and suppliers: order and inventory systems, integrations between machines and business applications, and reporting. Java is widely used for this kind of long-lived back-end and middleware work. The small developer base (80 software developers) suggests many such roles are combined with systems administration or support, or are filled by remote or regional teams. This is interpretation, not a count of Java jobs.

Evidence of Java in the area. The evidence is educational. Elmira College lists COMP 2036 Object Oriented Programming as taught in Java, though an earlier version of the listing said Python, so the language may vary by term. Its online career-training programs name Java, C# and HTML5. In nearby Corning, NY, SUNY Corning Community College's catalog lists CSCS 2420 Java Programming, and its non-credit career training also names Java. These show that Java is taught locally. They do not show employer adoption, and we found no local postings.

Frameworks and skills worth investigating. For business and integration work, Spring Boot and Jakarta EE (JAX-RS, JPA, servlets) are worth investigating, along with Hibernate, Maven or Gradle, JUnit, and Tomcat or WildFly. Upgrading long-lived applications across Java versions is a common challenge, and it suits organizations with older internal systems. Our Java Enterprise Edition training and Spring training pages cover these frameworks.

Emerging areas worth watching. Java's six-month release cadence with regular LTS releases, records, pattern matching and virtual threads are worth watching, as are the Spring Boot and Jakarta EE namespace migrations. Employers with older applications may care about these migrations. The official dev.java learning site tracks current language features.

Improving your prospects. Build from fundamentals to database access (JDBC/JPA), then REST services and automated testing. Pair Java with systems administration, scripting or data skills, since the area's computing roles are broad. Related paths include Python and C#, both seen in the area's career-training listings. Learners can compare Java training in Elmira and Horseheads, or request a training proposal for a team.

HSG courses for these skills.

The full list is on the Java Programming courses and learning guide.

About this data: sources, periods and limitations
  • Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
  • Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
  • Residents aged 25 and over with a bachelor's degree or higher: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Share of residents aged 25 and over with a bachelor's degree or higher.
  • Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
  • All occupations, computer and mathematical occupations, network and computer systems administrators: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
  • Computer and mathematical occupations, network and computer systems administrators, software developers and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
  • Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS). Location quotient relative to the U.S.
  • Computer and electronic product manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 334 (NAICS).
  • Software publishers: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5132 (NAICS). Employment and wages are withheld by BLS for this area and year to protect employer confidentiality; the establishment count is published.
  • Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS).

Training locations

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

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

View all Advanced 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.