Creating Validators using Dependency Injection and Tuples.

Design and implement validators using Dependency Injection(interface oriented design) and Tuples(functional interfaces).
Rating: 1.0 out of 5 (1 rating)
2,099 students
English
English [Auto]
Writing custom validations using Dependency Injection and Tuples.

Requirements

  • Be able to code in Java and know basic Dependency Injection.

Description

Welcome to Creating Validators using Dependency Injection and Tuples course.

The aim of this course is to teach you to design and implement the validator.

Using the tool set that I have provided in this course you can do the following:

  1. Request Validations

  2. Response Validations

  3. Business Logic Validations

  4. And several other validations too.


Validators using Dependency Injection:

In this approach we will use dependency injection of Spring. I will teach how to use interface oriented design to implement validators and how to sequence the Spring beans.


Validator using Tuples:

Tuples are fascinating data bags that can accommodate data elements of any different types. I teach you how to implement Tuple with two elements. Then I will teach how to implement lazy validators using Tuple. The best part about this approach is there will be only one if condition in the entire code.


At the end of this course:

  1. You will know how to design validators using interface oriented design.

  2. You will know how to sequence the execution of all validators.

  3. You will know how to write Spring Unit tests without Mockito.

  4. You will know what is tuples are its advanced methods.

  5. You will know why is deferred(lazy) execution a better idea.

Who this course is for:

  • Java developer with basic knowledge of Dependency Injection.

Course content

3 sections12 lectures1h 9m total length
  • Introduction
    01:52

Instructor

Software Engineer
Bharat Savani
  • 1.0 Instructor Rating
  • 1 Review
  • 2,099 Students
  • 1 Course

I am Bharat Savani. I work as a Senior Software Engineer at PayPal. I like to read and learn about programming in general. I love to write modularized code. I leverage my experience and passion while designing the courses. Java ecosystem is vast, and I am making a humble contribution to it by teaching the things that I know.

I love to read books too. My favorite ones are Effective Java Series, Java Puzzlers and Refactoring: Improving the Design of Existing Code.