• Tutorial Section
  • How to Enable Java Preview Features
  • Spring 6: Declarative HTTP Client Interfaces

    One of the most common developer tasks in today’s day to day business is writing http clients to query data from REST web services. Traditionally, this is done with the Spring Framework by using either the RestTemplate or the reactive WebClient to call the http methods of a service and transform the result into a…

    März 30, 2023
  • Java 19: Record Patterns

    Let’s have a look at record patterns, another quite interesting Java 19 preview feature delivered by Project Amber. Project Ambers aims at improving the Java language by simple and powerful new features that enhance the Java syntax. Java had always the reputation of being very verbose and looking at other popular programming languages like Python,…

    März 14, 2023
  • Java 19: Structured Concurrency

    Another very interesting feature that will most likely be available with Java 21 is the introduction of the Structured Concurrency API developed under JEP 428 by Project Loom. Structured concurrency will greatly simplify the use of virtual threads and provide an API similar to the well know ExecutorService API to execute Callables. If you haven’t…

    März 1, 2023
  • Java 19: Pattern Matching for switch Expressions

    One of the great additions to the Java core language features was pattern matching introduced with Java 17. Pattern matching is a fancy term for a very useful new mechanic that reduces the need to cast objects and explicitly declare variables when using switch statements or the instanceof operator. As a quick refresher let’s look…

    Februar 3, 2023
  • Java 19: Virtual Threads

    In this post let’s take a closer look at Virtual Threads, one of the most anticipated new Java features of the last couple of years. Virtual Threads are developed by Project Loom, a project team at Oracle that works on new Java features about concurrency and related APIs. Virtual Threads are not yet a full…

    Januar 31, 2023
←Newer Posts

Java Online Training