Publication date : 05/10/2024

Course : Best practices in Java programming

Practical course - 3d - 21h00 - Ref. BPJ
Price : 1650 € E.T.

Best practices in Java programming




This practical training course covers the most sensitive points of the Java language and the APIs of the Java SE platform. It also enables you to integrate the best practices of Java development and acquire the automatisms essential to the design of robust enterprise applications.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. BPJ
  3d - 21h00
1650 € E.T.




This practical training course covers the most sensitive points of the Java language and the APIs of the Java SE platform. It also enables you to integrate the best practices of Java development and acquire the automatisms essential to the design of robust enterprise applications.


Teaching objectives
At the end of the training, the participant will be able to:
Assimilate good design practices
Assimilate the different language paradigms: object, functional, declarative
Mastering basic types
Understanding how the JVM works

Intended audience
Java application developers, architects and project managers.

Prerequisites
Good knowledge of Java programming. Experience in Java application development required.

Practical details
Hands-on work
The points covered are put into practice through exercises in Eclipse. All exercises are validated by writing and running unit tests.

Course schedule

1
Good design practices

  • Layering and orthogonality.
  • Managing consistency (strong consistency, long-term consistency).
  • The KISS, DRY, POJO and SOC principles.
  • Some essential patterns: factory, singleton, prototype, strategy, proxy.
  • Asynchronous, non-blocking access to resources.
  • Testing: unit tests, integration tests, use of stoppers.
Hands-on work
Applying the layer breakdown approach to a Java project, writing unit tests and integration tests.

2
Best practices in language use

  • Best practices in object-oriented programming.
  • Best practices in functional programming with lambda expressions.
  • Best practices in declarative programming with annotations.
  • Immutability.
  • Genericity: advantages and limitations.
  • Exception handling: business exceptions, technical exceptions, exception wrapping.
Hands-on work
Enhancement of the project started earlier using lambda expressions, annotations and generic types.

3
Best practices for using base types

  • The Object class and its methods: equals, hashcode, toString, clone...
  • The String class and its special features.
  • Representing time with classes in the java.time package.
  • Collections (List, Set, Queue), maps.
  • The Optional class to limit the risk of NullPointerException.
  • The Optional class.
  • Stream interface.
  • The CompletableFuture class for asynchronous programming.
Hands-on work
Application of Stream to the project started earlier, optimal use of Java base types.

4
Understanding how the JVM works

  • Just in time (JIT) compiler.
  • The principle of tiered compilation.
  • Two memory zones: the heap and the stack.
  • The various garbage collectors (G1, Shenandoah, ZGC).
  • Compiling ahead of time (AOT) with GraalVM.
Hands-on work
Observation of application memory usage.


Customer reviews
4,7 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
XAVIER B.
22/10/25
5 / 5

A good balance between theory and practice, with well-constructed exercises that enable you to apply the best practices you have learned and to repeat them, optimise your code, etc.
SIMON C.
22/10/25
5 / 5

Very good, lots of subjects to see in 3 days, but it goes down well
CHARLY C.
22/10/25
5 / 5

The trainer was very educational and very nice! Thanks Peter :) The content was very good.



Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 2 Mar., 17 June, 26 Oct.

PARIS LA DÉFENSE
2026 : 2 Mar., 17 June, 26 Oct.