“Turning the database inside out with Apache Samza” by Martin Kleppmann is a great talk about architecting systems around Event Streams (or Transaction Logs) and creating Materialized Views from it.
Continue reading “Turning the database inside out with Apache Samza” by Martin Kleppmannfarenda
When Gradle is building a project then by default it will fail when any of build tasks fails. But sometimes we may want Gradle to continue build even with failed tests.
Continue reading Gradle continue build even with failed testsJava 8 Comparators with Method References in action. We mix Java 8 static and default methods with method references to sort objects by multiple fields using chained Comparators!
Continue reading Java 8 Comparators with Method ReferencesMongoDB has plenty of cool features to work with documents, but I found it less than obvious how to update document in array. So here it is…
Continue reading MongoDB update document in arrayRegular Expressions are very handy for text processing. In this article we’ll show Java Regex to remove duplicated words, which is a common task.
Continue reading Java regex remove duplicated wordsA pretty cool exercise in writing Java Regular Expressions is to write Java regex matching IP Address. In this post we’ll show IP regexp and use in IP Address validator.
Continue reading Java regex matching IP AddressStatic Factory Method is very popular pattern that simplify and clarify creation of objects. Can be used instead of or in addition to constructors.
Continue reading Static Factory Method patternJava 8 Functional Interfaces is very important concept, because they are heavily used with Lambda Expressions and Streams to simplify code. Let’s take a deep dive!
Continue reading Java 8 Functional InterfacesIn Java 8 interfaces default and static methods are major changes that allow to extend existing code without breaking anything. It should be the first step into Java 8.
Continue reading Java 8 interfaces default and static methodsjavax.validation defines a number of Bean Validation Constraints for values of most commonly used types. In this post we’ll show how to use each of them!
Continue reading Bean Validation Constraints