I should preface this post by mentioning that SOLID appears to still be in the early stages of development, and so this post may become out of date quickly. Currently the initial login step actually requires the username and password be sent in clear text.…

This was a particularly challenging issue that I came up against recently. I’m still not entirely sure of the exact cause, other than many people have already suggested that it is a bug with certain versions of the mysql-connector library. Although I did try using…

This guide assumes you have already setup the Elastic Search API with your Java application. The following examples use a ‘Part’ entity: public class Part { private String elasticSearchId; @SerializedName(“PartId”) @Expose public String partId; @SerializedName(“PartNumber”) @Expose public String partNumber; @SerializedName(“PartDescription”) […] Indexing a Part document:…

To rename the last commit message simply use the following Git command: git –amend -m”The new commit message.” To rename a previous commit message that isn’t the last commit: Type the following command: git rebase -i HEAD~n , where n is the number of commits to list,…

This tutorial assumes you have already exported a colour scheme from Intellij IDEA in the .jar format. In IntelliJ IDEA navigate to ‘Preferences’ -> ‘Editor’ -> ‘Color Scheme’, click on the cog icon and then click ‘Import Scheme’ -> and then ‘Intellij IDEA color scheme…

Spring Boot provides impressive scheduling functionality out-of-the-box. To install it all you need to do is include the Spring Boot Starter dependency in your Maven project: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> Configuration By default Spring Boot will use just a single thread for all scheduled tasks…

It may be necessary, especially when dealing with 3rd party API integrations, to implement a “Back-off and retry” mechanism, in cases where, for example, the 3rd party API becomes non-responsive, or lock’s you out. I recently had an issue where an application I had developed…

When you start developing software professionally you will want to ensure that you are writing the best code you can be. Luckily, there are a handful of tools that can help you with. These tools can be configured to automatically check your code style and…