Javalobby - The heart of the Java developer community

Javalobby - The heart of the Java developer community - 11b8

Latest Articles

Multi-Threading in Spring Boot Using CompletableFuture

Check out this post to learn more about multi-threading in Spring Boot. Multi-threading is similar to multi-tasking, but it enables the processing of executing multiple threads simultaneously, rather than multiple processes. CompletableFuture, which was introduced in Java 8, provides an easy...

In-Order Binary Tree Traversal in Java

The inOrder traversal is one of the most popular ways to traverse a binary tree data structure in Java. The inOrder traversal is one of the three most popular ways to traverse a binary tree data structure, the other two being the preOrder and postOrder. During the in-order traversal algorithm, the left subtre...

YouTube Data API (v3): Introduction With Spring Boot

Learn more about app development using the YouTube Data API YouTube is a video-sharing website where users can view and upload videos. For both web and app development, sometimes we need to access information from YouTube videos. You may also like: Build a Spring Boot API Using Spring Data JPA...

Is Inheritance Dead? A Detailed Look Into the Decorator Pattern

When object-oriented programming was introduced, inheritance was the main pattern used to extend object functionality. Today, inheritance is often considered a design smell. In fact, it has been shown that extending objects using inheritance often results in an exploding class hierarchy (see...

Migrating a Legacy Spring Application to Spring Boot 2

Out with the old, in with Spring Boot 2 Recently, we decided to monitor the metrics of legacy Spring applications we were running on our production systems. While searching around, I realized that a nice way to not reinvent the wheel was to integrate my app with the Spring Boot Actuator. By usin...

How to Transform Elements In a Stream Using a Collector

Learn more about transforming [natural] elements in a [Java] Stream Using the Stream API and the map method, we can transform elements in a stream to another object. Instead of using the map method, we can also write a custom Collector and transform the elements when we use the collect ...

Inverting Functions: Effect Thread Binding for Stateless Actors

Learn more about thread binding for stateless Actors Functional programming can be perceived as "hard." Yes, spend time with it and it gets simpler — the benefits outweigh the learning curve. However, when type errors start spanning multiple lines, it does suggest that abstract concepts m...

Best Java Unit Testing Frameworks

Learn more about the best Java unit testing frameworks. Unit testing is an important skill for programmers. With that said, what are the best frameworks you can use to write great unit tests in Java? You may also like: 8 Benefits of Unit Testing What We Will Learn What are the best Java uni...
Related Articles

FarmVille Photo 2018-06-05 19:42

ATTENTION, Farmers! 📢 FarmVille is turning 9 this June 🤗 and you are invited for a month-long celebration! 🎉🤩 Send us your birthday greetings below, and join the "FarmVille Birthday" Farmstand for exciting rewards! 🎊🎁 Use the hashtag #FarmVilleBirthday #FarmVilleTurns9 NOW! ️👨‍🌾9️⃣👩‍🌾 Thanks for being with us throughout these years! 😊 #TuesdayThoughts #FarmVille #Birthday Official and Complete Walkthrough: https://zynga.my/FVFarmVilleBirthdayFarmstand PLAY NOW! https://zynga.my/FarmVille1