Articles


Written by Per Minborg

17. Parallel Streams in Custom Thread PoolsToday's tips is about executing parallel streams in custom thread pools. One of the main drivers for developing the Java 8 streams was their ability
Read Article
Written by Per Minborg

16. Hacking the Existing Java ClassesToday's tips is about hacking the existing Java classes. But before we start, I would like to issue a disclaimer: I am only showing this
Read Article
Written by Per Minborg

15. Don't Optimize Now!Today's tips is about how the JVM can optimize our code. Back in the good ol' Java 1.0 days, I remember running programs that replaced the names
Read Article
Written by Per Minborg

14. Submitting a TaskToday's tips is about submitting tasks. Historically, we java developers commonly used a new Thread directly when we wanted something to be done in parallel with the
Read Article
Written by Per Minborg

13. Higher Order of FunctionalityToday's tips is to explore the world of Higher Order Functionality and how to work with functions that operates on functions.In the good old pre-Java 8
Read Article
Written by Per Minborg

12. Avoid Overloading with LambdasToday's tips is to think twice about the names you assign to you methods that can receives lambdas and avoid letting them share the same name.If
Read Article
Written by Per Minborg

11. Building Reactive Systems with JavaFXToday's tips is to take the leap from Swing to JavaFX, the latter being much more modern and feature full than the former. The open-source Speedment UI
Read Article
Written by Per Minborg

Day 10, Java Holiday Calendar 2016, MapStreamToday's tips is about the open-source class MapStream that allows us to stream not only over elements but over pair of key, value elements
Read Article
Written by Per Minborg

9. Event SourcingToday's tips is about Event Sourcing which is a relatively new way of designing database applications. Instead of seeing the database as a representation of the most current state,
Read Article
Written by Per Minborg

8. Use Traits in JavaToday's tips is about defining your classes and interfaces using Traits. This allows you to simplify your code and reuse components efficiently without creating unnecessary coupling
Read Article
Written by Per Minborg

7. Access Databases with StreamsToday's tips is about querying databases using Java 8 streams. By adding both a runtime and plugin dependency to open-source Speedment in you applications Maven POM file,
Read Article
Written by Per Minborg

6. Be Lazy With Java 8Today's tips is about lazy initialization. Sometimes, we want our classes to do only what is absolutely necessary and nothing more. Immutable classes are particularly
Read Article