Data Validation Overview

What is Validation? Validation ensures data integrity by asserting conditions against data. Examples: Is a value required? What is the maximum length of a string? Is a given date valid? Often referred to as “defensive programming” or “trust but verify.” An essential but often overlooked step in software development.

Read More

Building a GraphQL service

Preparation First, let’s navigate to Spring Initializr. This service pulls in all the dependencies you need for an application and does most of the setup for you.

Read More

Building Spring Boot Docker Image

Pre-Requirements Developer Environment ready with Docker, JDK, IDE A Java Spring Boot Project with a h2 in-memory DB Docker Hub account Create Docker File Create a Dockerfile with the following content:

Read More

Java Basics: Exceptions

What are Exceptions? An exception is an event, commonly it is a problem that arises during the execution of a program. When an Exception occurs the normal progris disrupted and the program/Application terminates abnormally, which is not recommended. Unexpected termination of an Application is never wanted and this is why exceptions should be handled, so that the Application lets the User know that some Error or Problem exists, but the Application itself should not just die without any information.

Read More