Java
-
Spring Security with Spring Boot 2.0: Password Encoder
On a previous post we used the user details service in order to provide a way to load our data…
Read More » -
Binary Search in Java without Recursion – Iterative algorithm
This week’s task is to implement binary search in Java, you need to write both iterative and recursive binary search…
Read More » -
Java 10: Collecting a Stream into an Unmodifiable Collection
Java 10 introduces several new methods to facilitate the creation of unmodifiable collections. The List.copyOf, Set.copyOf, and Map.copyOf methods create…
Read More » -
Exact Matching of a String Containing a Wild Card in QueryDSL
On one of our recent projects, our client asked for a single search field that would be able to search…
Read More » -
Expanding Your Tech Stack with AWS Lambdas
Let’s face it. Debugging performance issues is hard, but fixing them is even harder. Let’s say you’ve found the offending…
Read More » -
Void methods as behavior black holes
This post could have been titled ‘Void methods considered harmful’, if ‘considered harmful’ essays weren’t considered harmful themselves. Oh welp.…
Read More » -
Java EE MVC: Handling form validation
In this post we will have a look on form validation in Java EE MVC. Java EE MVC integrates with…
Read More » -
Shebang Coming to Java?
Although it was never a central goal of JEP 330 [“Launch Single-File Source-Code Programs”] to add support for the Unix-style…
Read More » -
Java’s String.format Can Be Statically Imported
JDK-8203630 [“Add instance method equivalents for String::format”] postulates that “the argument for implementing String::format as static appears to be that…
Read More »