It is a spring restdocs example that shows how to document path parameters, request fields, response fields and response headers.

I created a fork/join example by extending ForkJoinTask to transform the elements from a list.

After my previous post I thought that there were no more surprises and I would be able to document an already existing endpoint that I had…

In previous post I discussed about Spring REST docs and I mentioned that I’m planning to give it a try. I was so enthusiastic when playing…

This year in May I attended the Spring I/O conference where I heard about Spring REST docs. Two things captured my attention: Documentation…

On the 19th and 20th of May this year I was lucky enough to attend the Spring IO Conference in Barcelona. Why lucky? I was two days away…

Map is a common tool from java programmer’s toolbox that is used to store key-value pairs. When such a data structure is needed in our…

Little strokes fell great oaks. We have a similar saying in Romanian and I remembered it after I saw that this code does not complain and…

You are working on a new feature where you need to use decimal numbers and you know from requirements that calculations must be precise. If…

The last thing I want to discuss about integral primitives is what happens when we use them as fields in our classes. A typical example…

In previous post about primitives I checked how fast usual operations perform on different types of integral primitives. Initially I thought…

Java has byte, short, int, char and long integral primitive types and Java language specification describes them very well: The integral…

I had a discussion with one of my colleagues some time ago and he insisted that logging is not needed since we should write an application…

When we create java classes, we group them in packages so that we can manage them properly. We are using file systems to store our classes…

I wanted to start blogging some time ago but I didn’t do it because wanting is one thing and actually doing it is a little bit harder. I don…

It is common for a class to have constant values defined as class fields (static and final) and then used in instances fields like in code…

Each week I receive the weekly email from Java Code Geeks and almost all the time I spent few minutes checking what’s going on in the…

Back is 1994 I saw Forrest Gump and one of the lines that I remember is: My momma always said, “Life was like a box of chocolates. You never…

I started to write software in 1995 and since then I used the terms programmer and developer interchangeably and I thought that they are…