About 923,000 results
Open links in new tab
  1. Value Object Pattern in Java: Enhancing ... - Java Design Patterns

    Explore the Value Object pattern in Java with our in-depth guide. Learn how immutable objects enhance performance and memory efficiency in software design. Ideal for developers looking …

  2. Value-Based Classes in Java - Baeldung

    Jun 11, 2024 · Value-based classes are one of the features introduced by Project Valhalla to introduce primitive, immutable values to the Java language without the added overhead that …

  3. JEP 401: Value Classes and Objects (Preview) - OpenJDK

    Aug 13, 2020 · Enhance the Java Platform with value objects: class instances that have only final fields and lack object identity. This is a preview language and VM feature.

  4. Value object - Wikipedia

    Examples of value objects are objects representing an amount of money or a date range. Being small, one can have multiple copies of the same value object that represent the same entity: it …

  5. Value Object - Martin Fowler

    Nov 14, 2016 · Objects that are equal due to the value of their properties, in this case their x and y coordinates, are called value objects. But unless I'm careful when programming, I may not get …

  6. Value Objects - DZone

    Apr 12, 2017 · Now we’ll look at three real implementation examples for value objects – using plain Java, Project Lombok, and JPA. If we’re not using libraries like Lombok or Immutables, …

  7. Immutable Java: Why Value Objects Can Make Your Code …

    Sep 26, 2025 · Java 14 introduced records, a natural fit for value objects: Records automatically provide immutability, equality, and hash code implementations. They’re perfect for modeling …

  8. Java Records vs. Value Types

    Jan 5, 2023 · There's also a design pattern called value objects. That's probably where the name comes from, but the value objects of project Valhalla have a different scope and definition. So …

  9. DTO vs. Value Object: Understanding the Differences and …

    Nov 25, 2024 · Explore the distinctions between Data Transfer Objects (DTOs) and Value Objects in Java, focusing on their characteristics, use cases, and how they can be effectively used …

  10. Try Out JEP 401 Value Classes and Objects - inside.java

    Oct 27, 2025 · As the JEP explains, value objects are instances of value classes, which have only final fields and lack object identity. A handful of JDK classes, including Integer and LocalDate, …