How do I learn refactoring in Java

Refactoring workshop

Seminar description

With constantly changing requirements and extensions, the design of an application gets worse and worse as it ages. The course will help you discover bad design and teach you the refactoring method that can be used to improve the design. At the beginning of the course, consider an initially good-looking little application made up of three classes. In the course of the course, the application is continuously improved until a framework based on design patterns is available at the end.

Course content


  • Origin and history
  • Targeted work with the refactoring catalog
  • Integration of refactoring into the software development process


  • requirements
  • Code ownership
  • Unit tests with JUnit
  • Extreme Programming XP

Bad smells

  • Duplicate code, feature envy, switch statements, etc.
  • More subtle signs
  • How to spot bad design
  • Code metrics

The refactorings

  • Basic refactorings: Extract Method, Replace Temp with Query, etc.
  • Simplify conditionals
  • Encapsulation
  • Changing interfaces
  • Assurances
  • Complex refactorings
  • Design Pattern Objectives for Refactoring


  • Impact on performance
  • Refactoring tools and their integration into common IDEs

target group

Programmer and software developer

Requirement for seminar participation

Knowledge of Java and object orientation. Experience with design patterns is helpful but not required.

Seminar duration

2 days, 1st day 10:00 a.m. to 5:30 p.m. (online training: 9:00 a.m.), next day (s) 9:00 a.m. to 4:30 p.m.

Number of participants

min. 3, max. 8 people

Advantages of participating in a seminar

  • You will recognize potential for improvements in code and in UML diagrams
  • You will learn how to gradually improve the design of existing applications. The code becomes leaner and more flexible
  • You will learn how to incorporate refactoring into the software development process
  • Your code won't be the same anymore!
  • Our course documents are always up to date

Dates for seminar: Refactoring workshop

Seminar dateDurationplacepriceSeminar registration
23.09. - 24.09.20212Mannheim or onlineLT: 1,230 EUROn-line

Price per person plus VAT, including documents, certificate, daily catering, drinks, fruit and snacks.

In-house courses

We can also offer all of our seminars to be carried out in-house. The contents of all of our seminars can be combined into a seminar of your choice for your individual training.