Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Using EL in Constraint Violation Messages with Bean Validation 1.1

DZone's Guide to

Using EL in Constraint Violation Messages with Bean Validation 1.1

· Java Zone ·
Free Resource

Delivering modern software? Atomist automates your software delivery experience.

Although it's a point release Bean Validation 1.1 brings a number of important features to Java EE 7. While the most significant of these features is clearly method validation, another very useful feature is the ability to customize constraint violation messages using EL. Gunnar Morling does a great job of explaining the feature in a recent blog post. There's also the 15-minute Bean Validation 1.1 presentation by specification lead Emmanuel Bernard on the GlassFish videos YouTube channel:

You can also check out the very well written official specification or try things out with the newly released Java EE 7 SDK.

Start automating your delivery right there on your own laptop, today! Get the open source Atomist Software Delivery Machine.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}