ClojureScript Routing and Templating with Secretary and Enfocus
A good while ago I was looking for good ways to do client-side routing and templating in ClojureScript. I investigated using a bunch of JavaScript frameworks from ClojureScript, of which Angular...
View ArticleCareful With Native SQL in Hibernate
I really like Hibernate, but I also don’t know a tool that would be nearly as powerful and deceptive at the same time. I could write a book on surprises in production and cargo cult programming related...
View ArticleJava 8 Streams API as Friendly ForkJoinPool Facade
One of features I love the most about Java 8 is the streams API. It finally eliminates pretty much all loops from the code and lets you write code that is so much more expressive and focused. Today I...
View ArticleWalking Recursive Data Structures Using Java 8 Streams
The Streams API is a real gem in Java 8, and I keep finding more or less unexpected uses for them. I recently wrote about using them as ForkJoinPool facade. Here’s another interesting example: Walking...
View ArticleValidating Class/Package Dependencies with Classycle
Classycle is a very nice analyzer and dependency checker for class and package dependencies. It lets you define package groups (components, layers) and express unwanted dependencies such as cycles, or...
View ArticleIntroduction to Event Sourcing and Command-Query Responsibility Segregation
The concepts of event sourcing (ES) and command-query responsibility segregation (CQRS) have been around for quite a while. They are getting more and more attention in the Java community, though they...
View ArticleAchieving Consistency in CQRS with Linear Event Store
In a recent project involving an event-sourced CQRS system, we decided to do some things that seem somewhat unusual compared to solutions mostly talked about. However, they let us achieve some nice...
View ArticleWriting an Event-Sourced CQRS Read Model
Discussions about event sourcing and CQRS seem to usually focus on the overall system architecture or various flavors of domain-driven design in CQRS context. However, the read models are often...
View ArticlePersistence in CQRS Read Models
One of the biggest benefits of CQRS is the ability to implement multiple read models. Business rules and the domain model are safe, clean and isolated over in the write model. They are not getting in...
View ArticleRapid Development with Hibernate in CQRS Read Models
In this post I’m going to share a few tricks for using Hibernate tooling in CQRS read models for rapid development. Why Hibernate? Hibernate is extremely popular. It’s also deceptively easy on the...
View Article
More Pages to Explore .....