Designing Great Java In-Memory Object Models
summary
Practical rules for Java object models: prefer composition over inheritance, favor immutable objects where possible, encapsulate invariants, and place behavior next to data to avoid anemic models. Use lazy loading, caching, primitive-specialized collections and weak/soft references to reduce heap pressure; denormalize deliberately when lookup chains hurt performance. Claim: EclipseStore persists JVM objects natively so the in-memory model need not be reshaped for storage, turning the application into the source of truth and removing expensive object–relational mapping.
AI-written summary · about
chapters (29)
- 0:00Introduction to object models
- 1:06What is an object model
- 2:52Balancing simplicity and flexibility
- 3:54Managing object relationships
- 5:01Business logic placement
- 6:03Ensuring consistency and validation
- 6:47Navigation performance vs purity
- 7:52Mapping to persistence layer
- 8:37Maintainability and testability
- 9:22Dealing with change
- 9:44Common pitfalls to avoid
- 13:01Lack of inheritance strategy
- 14:07Static methods and utilities
- 15:30Future extensibility
- 16:22Separation of concerns
- 18:52Avoiding monolithic structures
- 19:53Data segmentation strategies
- 20:35Java’s object-oriented nature
- 22:01Single responsibility principle
- 23:27Encapsulation best practices
- 24:56Immutability advantages
- 26:28Composition over inheritance
- 28:00Proper data segmentation
- 29:23Interface-driven design
- 30:50Performance optimization techniques
- 34:25Memory leak prevention
- 35:08Persistence and database mismatch
- 36:35Eclipse Store introduction
- 40:33Q&A session
related talks
47mDesigning Great Java In-Memory Object Models
57mJava In-Memory Database-Apps with EclipseStore
53mJava In-Memory Database-Apps with EclipseStore
01h 08mJava Objects Inside Out
44mCaching Unleashed: Revolutionizing Java Performance
48mIntroduction to EclipseStore Coding
44mJava In-Memory Database-Apps with MicroStream
51mA Healthy diet for your Java application
