Articles

In this sample, we will implement the server-side of a client-server style messaging app. To do so, you could use your preferred programming language, but for speed, we’ll use Linx, a low-code developer tool for backend APIs, integrations, and automation.

For a quick review of Linx and how it works, see this video.

Scope

We will implement some web methods, which will be useful for creating a messaging client. However, the following items fall outside the scope of this sample:

Source de l’article sur DZONE

To bind methods or constructors to functional interfaces, we are going to use the FunctionalInterfaceFactory of Burningwave Core library. FunctionalInterfaceFactory component uses to cache all generated functional interfaces for faster access. Before we start coding, we must add the following dependency to our pom.xml:

XML

 

x
 

1

<dependency>

2

    <groupId>org.burningwave</groupId>

3

    <artifactId>core</artifactId>

4

    <version>8.12.6</version>

5

</dependency>

Constructors Binding

To bind a constructors to a functional interface, we will use the following constructor:

Source de l’article sur DZONE