Development & technology · Java & Spring

AI training for Java and Spring Developers

Java and Spring carry business-critical systems in many organisations: banking back ends, ERP integrations, public-sector applications and large microservice estates. These systems have often grown over many years, and modernisation never stops. AI coding assistants and agents change the heaviest routine work in particular: major Spring Boot upgrades including the javax-to-jakarta switch, JUnit and Mockito tests for poorly covered code, refactorings towards records and modern language features, and analysis of stack traces and Hibernate issues. Clear guardrails are essential: build tool, module structure, architecture rules and test strategy all need to be in context. This course shows you how to use agents productively and in a controlled way in Maven or Gradle projects.

Who is this course for?

  • Java back-end developers using Spring Boot or Jakarta EE
  • Teams modernising legacy Java applications
  • Software architects for enterprise and microservice landscapes
  • Developers in banking, insurance and the public sector
  • Tech leads responsible for upgrades and technical debt

Typical challenges we address

  • Laborious framework and JDK upgrades with numerous breaking changes
  • Large legacy codebases with low test coverage and tight coupling
  • Hard-to-analyse performance issues in JPA, Hibernate and transactions
  • Heavy boilerplate in configuration, mapping and interface code

Practical scenarios from your field

Driving a Spring Boot upgrade

The agent analyses dependencies, applies OpenRewrite recipes, switches javax packages to jakarta, adapts deprecated configuration and security setups and iterates over build and tests until the application is green again.

Generating JUnit and Mockito tests

Services and controllers get unit tests with JUnit and Mockito plus slice tests using WebMvcTest or DataJpaTest. The AI deliberately raises coverage on critical paths and documents test assumptions.

Refactoring legacy code

Large classes are split up, DTOs turned into records, null checks replaced with Optional and streams used where they help. Existing tests safeguard behaviour at every step.

Analysing JPA and Hibernate issues

The AI reads SQL logs and stack traces, spots N+1 queries, LazyInitializationExceptions and poor fetch strategies, and proposes entity graphs, projections or index changes. Each optimisation is backed by SQL logs.

REST APIs and interfaces

OpenAPI specifications are turned into controllers, DTOs, MapStruct mappers and Bean Validation, complete with consistent error handling via ControllerAdvice and integration tests. Existing package and naming conventions are respected.

Making sense of stack traces and production errors

Long stack traces, thread dumps and log excerpts are summarised, the likely root cause is narrowed down and a reproducing test case plus fix is proposed.

Possible hands-on projects

Spring Boot microservice

A REST service with Spring Data JPA, Flyway migrations, Bean Validation, Actuator endpoints and Testcontainers tests, developed entirely by an AI agent from a specification.

Dependency report for Maven and Gradle

A command-line tool that analyses build files, lists outdated and vulnerable libraries and describes upgrade paths along with expected breaking changes.

Architecture rule checks

An ArchUnit test suite that automatically enforces your project’s layering rules, package dependencies and naming conventions and runs in the CI pipeline.

Data protection & compliance

Java systems often run in regulated sectors: agree with information security and data protection which code may be sent to external models, and take requirements such as DORA, NIS2 or national banking IT rules into account. Generated code and new Maven dependencies should be checked for licences and known vulnerabilities and recorded in an SBOM.

Prerequisites

In-depth Java knowledge and practical experience with Spring Boot or Jakarta EE, Maven or Gradle and Git.

Frequently asked questions

Can an AI agent carry out a major Spring Boot upgrade on its own?

An agent can take on much of the mechanical work – package switches, configuration changes and iteratively fixing compile and test failures – especially when combined with OpenRewrite. Architecture decisions, functional sign-off and testing in realistic environments remain the team’s job. On the course you practise this workflow on a sample project.

Is AI-assisted coding allowed in regulated environments?

In principle yes, but with clear rules. What matters is the choice of provider and operating model, contractual commitments on data use, approval processes and traceable reviews. We discuss how banks, insurers and public authorities typically approach this and which questions you should settle with your information security team.

Request without obligation

We will get back to you within one working day with a confirmation or an alternative suggestion.

Format *
Total €949 plus VAT