Here is a list of the main features :
- Mapped constraint source
It allows you to, for example, specify that the DTO classes must use the same validations as defined on the entity object. Without the need to copy those validations (DRY - Don't repeat yourself, see also here) - Type safe configuration through Java API
Until now, the configuration of the framework, if you needed to change something, could be done by specifying configuration parameters within web.xml. Now, it is also possible to specify them in Java through the StartupListener mechanism in a type-safe way. No longer typo errors. - Improved integration with various frameworks
There is now support for the @Valid annotation of bean validation, Integration with CDI (by using CODI, here) and the scripting framework (JSR 223) - Performance
There is also some major performance improvements achieved, so the overhead becomes of ExtVal becomes minimal. - New and improved annotations
There is a new @EmptyIf annotation, the reverse of the already existing @RequiredIf, and some improvement to the already existing ones like a case insensitive comparison. - New add-ons
There are 2 new major add-ons available that offer some nice functionality. It is the multi field Bean Validation and the required label add-on.
There is also some effort done in better project documentation through the javadocs and a new wiki area.
No comments:
Post a Comment