Validating constraints for JavaBeans in Java microservices

0
Language

Learn how to use bean validation for microservices. Explore writing and testing microservices with Bean Validation 2.0. Discover new built-in constraints like @Email, @NotBlank, @Positive, and @Negative. Improve validation in common scenarios and specify constraints on type parameters.

Add your review

At a Glance

Explore the use of bean validation to validate user input data for microservices.

You will learn the basics of writing and testing a microservice that uses bean validation and the new functionality of Bean Validation 2.0. The service uses bean validation to validate that the supplied JavaBeans meet the defined constraints.

Several additional built-in constraints are included in Bean Validation 2.0, which reduces the need for custom validation in common validation scenarios. Some of the new built-in constraints include @Email, @NotBlank, @Positive, and @Negative. Also in Bean Validation 2.0, you can now specify constraints on type parameters.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Validating constraints for JavaBeans in Java microservices”

×

    Your Email (required)

    Report this page
    Validating constraints for JavaBeans in Java microservices
    Validating constraints for JavaBeans in Java microservices
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.