Skip to main content

Programming

REST API Design Resources

The article shares resources on designing REST APIs, including a video presentation covering topics like JSON formats, linking, pagination, HTTP methods, versioning, error responses, and security. It also links to REST API guidelines from Zalando and articles on authentication.

Selenium Tests with Maven and Selenide

The article explains how to use Selenide, a wrapper around Selenium WebDriver, to simplify writing UI tests in Java. It provides a sample Maven POM file with configuration options for running tests in different browsers, locally or on a CI server, and leaving the browser open after tests.

Implementing Automatic Reconnection for Netty Client

One of the first requirement of Netty ISO8588 client connector is the support for automatic reconnect.

One of the first receipts I came across was Thomas Termin’s one. He suggests adding a ChannelHandler which will schedule the calling of client’s connect() method once a Channel becomes inactive. Plus adding ChannelFutureListener which will re-create a bootstrap and re-connect if initial connection was failed.

Although this is a working solution, I had a feeling that something is not optimal. Namely, the new Bootstrap is being created on every connection attempt.

So, I created a FutureListener which should be registered once a Channel is closed.

Java Application Development Tutorial

I’ve been meaning to write a small tutorial for building web applications. Now it’s time! Let’s define the steps and choose some solutions for developing back-end java web application.

I will give my design recommendations and list a technologies I would use. You may have your own opinion, and you may share it in comment. Over time, this post may change since my favourites are also changing over time.