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.
5. CRUD OperationsToday’s tip is an introduction on how to use open-source Speedment to expand the Java 8 Streams to support Creating, Reading, Updating and Deleting database entities.Head out to
The Magical MapWouldn't it be great if we could create Java maps like this?Map<String, Integer> map = mapOf( one -> 1, two -> 2);Map<String, String> map2 = mapOf( one ->
4. Use RemoveIf in Java CollectionsToday's tips is to use the removeIf() method (that all collection classes like List have) rather than manually iterating over the elements and remove them.
3. Initializing Maps in the Smartest WayToday's tips is how to initialize Java Maps in a type safe way with Java 8. With Java 9, we will get even better
2. Favor Composition Over InheritanceToday's tips is to avoid inheritance. For good reasons, there can only be one super class for any given Java class. Furthermore, exposing abstract or base
1. Use the @FunctionalInterface AnnotationToday's tips is to annotate a functional interface with the @FunctionalInterface annotation thereby signaling that API users may use lambdas to implement the interface. It also
Parallel Database StreamsIn my previous post, I wrote about processing database content in parallel using parallel streams and Speedment. Parallel streams can, under many circumstances, be significantly faster than the
What is a Parallel Database Stream?Read this post and learn how you can process data from a database in parallel using parallel streams and Speedment. Parallel streams can, under many
Following the RoadI have been contributing to the open-source project Speedment (which is a Stream ORM Java Toolkit and Runtime) and a new major version called 3.0.1 “Forest” was just released.
Often, web applications are slower than we would like them to be. Companies like Google and Facebook have in-house solutions for speeding up their applications. There is a need for
Streaming with SpeedmentDuke and Spire Mapping Streams.Back in the ancient 90s, we Java developers had to struggle with making our database application work properly. There was a lot of coding,
Method ReferencesAs we all know by now, we can use Method References, like String::isEmpty, in Java 8 to reference a method that is being used when we, for example, stream