Course : Best practices in Java programming

Practical course - 3d - 21h00 - Ref. BPJ
Price : 1940 CHF 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
Available in English on request

Ref. BPJ
  3d - 21h00
1940 CHF 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,5 / 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.
FABRICE G.
17/06/26
3 / 5

au final je trouve le plan incoherent. Le prof est sympathique et impliqué. après ce n’est pas un expert JAVA.
KANDRI YANIS E.
17/06/26
4 / 5

Je pense que le support de cours peut être amélioré pour qu’on puisse avoir une trame plus facile à suivre en support du discours. Cela permettrait de moins se disperser et d’avoir un contenu vers lequel on peut revenir facilement après la formation. L’intégration des points TPs dans ce support peut avoir une très bonne plus value. Sans forcément mettre toutes les infos, mais au moins indiquer les pauses TPs au fur et à mesure. Et préparer plusieurs TPs en fonction du niveau des p
LOIC B.
17/06/26
5 / 5

Formation intéressante, le formateur s’adapte aux attentes des élèves ce qui est agréable.



Publication date : 05/10/2024


Dates and locations

Last places available
Guaranteed date, in person or remotely
Guaranteed session
From 26 to 28 October 2026
FR
Remote class
Registration

REMOTE CLASS
2026 : 26 Oct.