Udemy

Modern Java: Data Oriented Programming Masterclass

Enroll Now
  • 443 Students
  • Updated 11/2025
4.8
(40 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
9 Hour(s) 50 Minute(s)
Language
English
Taught by
Vinoth Selvaraj
Rating
4.8
(40 Ratings)
3 views

Course Overview

Modern Java: Data Oriented Programming Masterclass

Master the Modern Java: Records, Pattern Matching, and Sealed Types for Clean Domain Models and Smarter Error Handling

Prerequisite: Prior knowledge of Java (up to version 17)
--

Lets deep dive into Data Oriented Programming (DOP) in Java. A modern, practical, and forward-looking programming paradigm that is reshaping how Java applications are designed and developed.

In this masterclass, you will learn how to write clearer, safer, and more maintainable Java code by shifting your mindset from objects and inheritance to data and behavior separation. Through hands-on lessons and real-world use cases, you will discover how to leverage Java’s latest language features Records, Sealed Types, and Pattern Matching to build data-centric applications that are easy to reason about and evolve.

What You Will Learn

  • Crash Courses on Key Modern Java Features

    • Records: Learn how Java Records simplify data modeling, enforce immutability, and reduce boilerplate & when to choose records over classes.

    • Sealed Types: Master sealed classes and interfaces to build expressive, restricted hierarchies and eliminate misuse of inheritance.

    • Pattern Matching: Simplify conditionals using pattern matching with switch expressions, including nested and guarded patterns.

  • Foundations of Data Oriented Programming

    • Understand the principles of DOP and how it contrasts with traditional OOP.

    • Dive into Algebraic Data Types (ADTs) in Java using Records and Sealed Types to model domain logic precisely and safely.

  • Practical Use Cases and Real-World Integration

    • Implement DOP in real-world scenarios, from API modeling to complex business rules.

    • Serialize and deserialize sealed hierarchies using Jackson including how to work with polymorphic types in JSON.

    • Explore data modeling, validation logic, and how DOP can simplify state machines, complex business workflows.

  • Better Error Handling

    • Use sealed hierarchies to represent all possible error cases.

    • Apply pattern matching to handle errors in a concise and exhaustive way. No missed edge cases.

  • Hands-On Final Project

Why Take This Course?

This course is designed for Java developers who want to:

  • Stay ahead with modern Java features

  • Write more declarative, composable, and readable code

  • Replace legacy boilerplate with expressive data models

  • Understand the real value of Records, Sealed Types, and Pattern Matching beyond syntax

  • Learn data oriented thinking, ADTs, and functional ideas without leaving Java

Whether you are building APIs, business systems or modern backend services, this course will transform how you model, process, and reason about data in Java.

Course Content

  • 10 section(s)
  • 129 lecture(s)
  • Section 1 Introduction
  • Section 2 Records
  • Section 3 Sealed Types
  • Section 4 Pattern Matching
  • Section 5 Principles Of Data Oriented Programming
  • Section 6 Domain Modeling
  • Section 7 Modeling Uncertainty With Types
  • Section 8 Error Handling
  • Section 9 Polymorphic Deserialization
  • Section 10 [Application Development] - Order Workflow Processing - Phase 1

What You’ll Learn

  • Understand the core principles of Data Oriented Programming (DOP) and how it differs from traditional Object Oriented Programming (OOP)
  • Use Java Records to model immutable data structures cleanly and concisely
  • Design clear and controlled hierarchies using sealed classes and interfaces
  • Handle domain-specific errors using algebraic data types (ADTs) and sealed hierarchies
  • Replace verbose inheritance-based models with expressive, data-driven design
  • Use guarded and nested patterns to handle complex business rules with ease
  • Refactor legacy OOP codebases into modern, maintainable DOP-style architectures
  • Understand how modern Java features lead to better readability
  • Build real-world applications using pure data models, functional logic, and modern Java syntax
  • Model business rules, responses, and error cases using type-safe alternatives to exceptions
  • Learn how to use records and sealed types in serialization for clean APIs
  • Gain practical experience through a hands-on project


Reviews

  • R
    Rishiprasad Polas
    5.0

    Good

  • J
    José Manuel Muñoz Manzano
    5.0

    Un curso genial, estoy aprendiendo muchísimo.

  • L
    Lionel R. Rivas
    4.5

    Another great course by this instructor. One of my most trusted on Udemy.

  • P
    Piotr Migaj
    5.0

    Excellent course !

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed