Simple Spring Boot - POST

April 02, 2017
javaspringspring bootspring web

A very quick and little tutorial into sending a POST request to a Rest Controller in Spring Boot. Have a look at Spring’s starter guide if…

Building with the Builder Pattern

April 01, 2017
javapatterns

If you have ever looked at a long constructor and got confused about the order that input values need to be added then I am here to help…

Testing Data Transfer Objects and Rest Controllers in Spring Boot

March 26, 2017
javaspringspring bootspring web

In this post I will cover some tests that can be run to ensure that your DTOs (Data Transfer Objects) are being serialized and deserialized…

Returning Data Transfer Objects from a Rest Controller in Spring Boot

March 19, 2017
javaspringspring bootspring web

In this post I will cover returning a DTO (Data Transfer Object) from a Rest Controller in Spring Boot. Returning data from a REST call in a…

Passing Data Transfer Objects with GET in Spring Boot

March 11, 2017
javaspringspring bootspring web

GET requests should be used to pass data to a Rest Controller when the state of the data is not being changed. This is a little tutorial on…

Getting started with JUnitParams

March 04, 2017
javajunittesting

Do you write enough tests? Even if the answer is yes there might be some scenarios where you could add a few more to cover extra…

Writing your F.I.R.S.T unit tests

March 04, 2017
testingbasicsbeginner

Unit tests are required to test singular sections of code. In java this would normally be a class. They provide confidence to programmers…

Is this the correct object?

March 02, 2017
java

This is something I came across at work that wasn’t working as I expected. After a little playing around it seemed pretty obvious but even…

Motivation and learning

February 27, 2017
personal

Something strange happened to me a few months ago where I found this urge that I could be better myself. It all started with one of my…

Stopping JavaFX Context Menus from auto hiding

February 18, 2017
javajavafx

This is a post that I wanted to write as it was a problem I ran into at my previous job probably around this time last year. I was doing…