This post is about using Amazon Simple Queue Service (SQS) in Java with Eclipse and AWS Toolkit Plugin. It also demonstrates how to create queues, send messages to and receive messages from them.
Selection Sort Algorithm Implementation in Java
This article demonstrates how to implement Selection Sort algorithm in Java.
Using @Conditional with @Configuration in Spring
Using @Conditional with @Configuration in Spring allows us to group @Bean objects loaded on a specific condition without resorting to using @Profile and too many @Bean/@Conditional. Requirements We used the following items for this post. Spring Boot 2.0.4.RELEASE JDK 8
Eclipse Mars and Project Lombok
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
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
PowerShell – Run application from command line
If you are familiar with Windows Command Line or MS-DOS, PowerShell is way more powerful than them. If you are also familiar is Unix scripting, PowerShell is the ultimate Windows Scripting language.
Java Web Application BASIC Authentication in Tomcat
The fastest way to configure authentication in Tomcat is Basic Authentication. However, it is one of the weakest forms of authentication, and we should not use it in real-life applications. Although we should not use Basic Authentication, it is still