Gilles is a 15+ software developer working for various software vendors (ILOG, PrimaSolution, Courtanet) : graphic 2D librairy, rules engine, J2EE service platform, domain model code generation. He is currently software architect for the insurance comparison web site LesFurets.com. He loves to feel the fresh air of San Francisco.
Fluent, stream-like API are great for writing type checked code, taking advantage of Java 8 functions and lambdas.
But what about creating your own fluent API to manipulate and validate your model?
We created an open-source framework called dOOv, for "Domain Object Oriented Validation" (http://doov.io), that generates a validation DSL from a domain model.
This presentation will demonstrate the efficiency and expressiveness of dOOv to define validation constraints.
The validation rules are represented as an abstract syntax tree, which makes it possible to visit the tree and show the rule in text format, markdown, or HTML.
We will compare our solution to industry standards like Bean Validation. During the session, we will live code legacy business rule migration to dOOv.