Add full-text search to your application with Hibernate Search
|

Add full-text search to your application with Hibernate Search

Full-text search has become a common requirement for modern enterprise applications, and there are several good implementations available, like Apache Lucene and Elasticsearch. They provide powerful indexing and search capabilities that allow you to easily add full-text search capabilities to your application. But one important questions remains when you decide to add Apache Lucene or…

How to automatically validate entities with Hibernate Validator
|

How to automatically validate entities with Hibernate Validator

Validation is an important task, but it’s most often also tedious to implement. It’s a good thing that the BeanValidation specification and Hibernate Validator as it’s reference implementation take over most of the work. They provide an easy to use, standardized way to validate object attributes and method parameters. And the best thing, they integrate…