Do you need tuples in Java?
I asked myself: Do you really need tuples in Java? In a broader sense: How much generalization do you need to solve a certain problem?
I asked myself: Do you really need tuples in Java? In a broader sense: How much generalization do you need to solve a certain problem?
Building Java projects from source code to executable packages have come a long way: It started with manually calling the Java Compiler and managing the classpath and external libraries and went from there to a lot of different build tools.
There are various good reasons to place your Java web application that is running in the Apache Tomcat behind a reverse proxy: Load balancing, implementing a TLS termination proxy or adding a web application firewall to the mix are some examples.
Working with the Java Streaming API can help you in many ways but here I would like to show you how to use the Collectors groupingBy method. This helps you to collect the elements from the stream in groups or buckets. The setup We have an Employee class that holds the name, the department, the …
How to use the groupingBy collector in Java streams Read More »