For Eclipse Mars.2 Release (4.5.2), Lombok 1.16.16 works in generating those getters and setters. If you are new to using Project Lombok, chances are you’ve tried a wrong version of it for your Eclipse.
JAXB Pre And Post-processing with Unmarshaller Listener
This post shows how to perform JAXB pre and post-processing with Unmarshaller Listener. For instance, you may want to compare the contents of an object before and after you unmarshal an XML. Another use-case is when you may need to
Flyweight Design Pattern in Java
The Flyweight design pattern can be summarized in three (3) words – minimize and share. In fact, I would label it as “minimize-and-share”. It makes it easier to remember and relate to the actual solution.
Chain of Responsibility Pattern Example In Rust
This post shows a simple implementation of the Chain of Responsibility pattern in Rust. For example, we have a set of struct instances that check for a file, read it, and finally, display it. We could imagine these instances as
Chain of Responsibility Design Pattern In Simple Words
The Chain of Responsibility is a behavioral design pattern that processes data using a sequence of loosely-coupled handlers. Each handler receives the data from a handler preceding it. Then, it processes the data. If there are problems with the data,
Installing Java 2 SDK 1.4 in Windows 7
This post shows how to install Java 2 SDK 1.4 in Windows 7. If you’ve worked in IT consulting for some time, you will realize that some clients may still be using older versions of Java. Although this version of
Spring Boot – Publish and Consume Custom Application Events
This post shows how to implement the Observer Design Pattern using the facilities available from Spring Application Events. More importantly, it shows how to publish and consume custom application events in Spring Boot. Observer Design Pattern – Publish And Consume
Lombok @Builder To Use The Builder Design Pattern in Groovy
We can use the Builder annotation from Lombok to use the Builder Design Pattern in our Groovy codes. This post shows how to use the Lombok Builder annotation in Groovy. Hence, we need to depend on the Lombok library via
Golang Concurrency With Goroutine: Things To Know
How far along are you with your learning of Golang? You will inevitably encounter Golang concurrency with goroutine. If case you are already there and struggling, this post will make understanding goroutines painless. Goroutines Enable Concurrency The concept of concurrency
Get Your Head Around Golang Interface with Examples
The Golang interface is an interesting construct, and most people from programming languages like Java will find it different. If you are new to Golang, this post helps you get your head around the Golang interface with examples. Golang Interface