Database Actions Using Java 8 Stream Syntax Instead of SQL
Why should you need to use SQL when the same semantics can be derived directly from Java 8 streams? This article shows how the resemblance between streams and SQL commands can be used to gain ultra-fast access to data.
The Need for Speed: Access Existing Data 1000x Faster
Learn how you can speed up your analytics database applications by a factor of 1,000 by using standard Java 8 streams and Speedment's In-JVM-Memory accelerator.
Ever wanted to quickly create a web application connected to your existing database or build a professional application with short time-to-market requirements? The Java Stream API has unleashed the possibility to write database queries in pure Java.
BackgroundEvery morning when you wake up, you need to perform a set of tasks before you go to work or do something else you'd like. Have you ever thought of
BackgroundSince Java was first created back in the 90's, developers have used Plain Ordinary Java Objects (or short "POJOs"). Now that Java 8 is released, we can have another view
BackgroundVery often when you are writing a method, you create an object, work with it a bit and then return the object or something that depends on the newly created
BackgroundA singleton is a class that is instantiated exactly one time and can be used to represent "global" or system wide components. Common usages of singletons include loggers, factories, window
BackgroundMaps are used ubiquitously in almost all Java applications. There are several built-in implementations of the Map interface tailored for different purposes. All these Map implementations rely on calculating a
BackgroundIllustration: Elis MinborgWhen I was a kid, I was taught that, in the Swedish language, one should write out numbers using their text representation in the range from zero to
BackgroundIn the package java.util.concurrent there are numerous classes that enables concurrent access to various objects and data structures. However, there is a lack of a concurrent Set in the standard libraries.
BackgroundN factorial (also denoted N!) means computing 1*2*3*...*N and is a classical problem used in computer science to illustrate different programming patterns. In this post I will show how one
BackgroundDuke and Spire Locking in ObjectsBy using Immutable Objects, which are objects that can not be observed to change once they are created, you gain a number of advantages including
PrefaceYou have, with a probability infinitely close to 1, made one or several errors when overriding basic Object methods like equals() and hashCode()! When I discovered a new class off
BackgroundIn my previous post, I talked about creating objects using the Builder Pattern. I recommend that you read that article first, unless you are already familiar with the Builder Pattern.The
Creating objects using the Builder PatternThere are several patterns you can use when you want to create objects. In this post we will elaborate on some of them and we