
144 Java Data Oriented Programming
Java refactoring guide that separates records and immutable data from pure transformation and validation functions.
- skills.sh installs
- 129
- GitHub stars
- 465
- last updated
- Jun 3, 2026
What it does
- Covers data-oriented patterns: separating records from behavior, immutable transformations, flat ID-referenced data, and pure validation
- Lists core areas: generic-to-specific type conversion,
Map<String,Object>for dynamic data, and generic CRUD data access layers - Requires
./mvnw compilebefore changes and./mvnw clean verifyafter, stopping if compilation fails - Designed for Java projects refactoring toward data-oriented design with records and pure functions
Install
$ npx -y skills add jabrena/cursor-rules-java --skill 144-java-data-oriented-programming -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Java Data-Oriented Programming Best Practices
Apply data-oriented programming in Java: separate data from behavior with records, use immutable data structures, pure functions for transformations, flat denormalized structures with ID references, generic-to-specific type conversion when needed, pure validation functions, and flexible generic data access layers. All transformations should be explicit, traceable, and composed of clear pure functional steps.
What is covered in this Skill?
- Separation of concerns: data structures (records, POJOs) vs behavior (utility classes, services)
- Immutability: records, final fields, transformations produce new instances
- Pure data transformations: functions depending only on inputs, no side effects
- Flat and denormalized data: ID references instead of deep nesting
- Generic until specific: Map<String,Object> for dynamic data, convert to records when processing
- Data integrity: pure validation functions returning validation results
- Flexible generic data access: generic CRUD interfaces, interchangeable implementations
Details
- Repository
- github.com/jabrena/cursor-rules-java
- Category
- Java & JVM
- First seen
- Jun 3, 2026
More from jabrena/cursor-rules-java
All 16- 170 Java Documentation129
- 132 Java Testing Integration Testing128
- 113 Java Maven Documentation125
- 110 Java Maven Best Practices160
- 121 Java Object Oriented Design153
- 124 Java Secure Coding146
- 111 Java Maven Dependencies136
- 125 Java Concurrency135
- 128 Java Generics135
- 141 Java Refactoring With Modern Features135
- 142 Java Functional Programming135
- 131 Java Testing Unit Testing134
- 112 Java Maven Plugins133
- 143 Java Functional Exception Handling133
- 122 Java Type Design132
Similar to 144 Java Data Oriented Programming
More Java & JVM
142-java-functional-programmingSkilljabrena/cursor-rules-java135 installsJava refactoring guide for immutability, streams, Optionals, and pure functions, gated by compile and verify builds.
121-java-object-oriented-designSkilljabrena/cursor-rules-java153 installsJava object-oriented design review and refactoring guided by SOLID, code smells, and focused references.
141-java-refactoring-with-modern-featuresPluginjabrena/plinth462 starsUse when you need to refactor Java code to adopt modern Java features (Java 8+) — including migrating anonymous classes to lambdas, replacing Iterator loops wit
java-21Skillgentleman-programming/gentleman-skills330 installsJava 21 patterns for records, sealed hierarchies, and virtual threads that keep code immutable and safe.
java-expertSkillpersonamanagmentlayer/pcl307 installsExpert Java guidance covering Java 21+ features, Spring Boot, and Maven or Gradle builds with enterprise conventions.
java-fundamentalsSkillpluginagentmarketplace/custom-plugin-java628 installsReference guide covering Java 8-21 syntax, OOP, collections, streams, and exception handling with pattern examples.