Centurion, South Africa info@code2bits.com On Request
How to generate Java Getters and Setters with Lombok (Part 1)

The Lombok Project is a java library that helps a developer generate boilerplate code like “getter” and “setter” methods for Plain Old Java Objects (POJOs). By simply adding the Lombok...

Read More
How to Create a Simple Web Project using Maven

This post contains a step-by-step guide on how to create a simple web application making use of maven. The Archetype Plugin is used to create a simple web project from...

Read More
How to Create a Simple Java Project using Maven

This post contains a step-by-step guide on how to create a simple java application making use of maven. The Archetype Plugin is used to create a simple java project from...

Read More
Writing Assertions for Collections using Hamcrest and JUnit

In this post, I will show you how to write assertions for Collections making use of the Hamcrest library when writing your JUnit testcases. The post provides some useful examples,...

Read More
How to Build an Alexa Skill - Part 1

This post is the first in the “Building an Alexa Skill” series where I will illustrate how to implement Alexa Skills. In this post, I will show you how to...

Read More
How to Install Java on macOS using Homebrew

This post provides a step-by-step guide with a list of commands on how to install Java on macOS using Homebrew.

Read More
Counting Sort Algorithm in Java

Counting Sort is an integer sorting algorithm. Counting Sort are unlike other sorting algorithms in that it makes certain assumptions about the data. It counts the number of objects with...

Read More
Quick Sort Algorithm in Java

Quick Sort, also known as partition-exchange sort, is an efficient divide and conquer sorting algorithm. The algorithm can be implemented making use of loops or recursions. The algorithm performs the...

Read More
Merge Sort Algorithm in Java

Merge Sort is a divide and conquer algorithm as the algorithm splits the original array into smaller logical sections. The algorithm can be implemented making use of loops or recursions....

Read More
Shell Sort Algorithm in Java

Shell Sort is an in-place comparison sort algorithm. Shell Sort is a generalization of insertion sort that allows the exchange of items that are far apart. The algorithm perform preliminary...

Read More
Insertion Sort Algorithm in Java

Insertion sort is a sorting algorithm that builds the final sorted array (or list) one item at a time. The algorithm iterates over the list and removes the current element,...

Read More
Selection Sort Algorithm in Java

Selection sort is a sorting algorithm, specifically an in-place comparison sort and is used for sorting an array of integers. The algorithm divides the input list into two parts, sorted...

Read More
Bubble Sort Algorithm in Java

Bubble sort is sometimes referred to as sinking sort. The bubble sort algorithm repeatedly steps through the list and compare each adjacent item. The pair of values gets swapped if...

Read More
Maven

What is Maven? Maven is a build automation tool used primarily for Java projects. Maven assist in simple project setup following best practices. It assist in complex dependancy management including...

Read More
Java

Java Technologies & Frameworks There are a large number of Java Technologies, Frameworks and Libraries that help developers create Enteprise Applications faster. These technologies and frameworks have all different capabilities...

Read More
Java Language

What is Java? “Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible.” ~ Wikipedia

Read More

Sample Projects on GitHub

All sample projects and code can be downloaded from GitHub.