~/talk

Designing Great Java In-Memory Object Models

Talkat JCON EUROPE 2025 · 2025-05-12..05-15· [java, software-architecture]
links:none on file
slides:none on file

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

  1. 0:00Introduction to object models
  2. 1:06What is an object model
  3. 2:52Balancing simplicity and flexibility
  4. 3:54Managing object relationships
  5. 5:01Business logic placement
  6. 6:03Ensuring consistency and validation
  7. 6:47Navigation performance vs purity
  8. 7:52Mapping to persistence layer
  9. 8:37Maintainability and testability
  10. 9:22Dealing with change
  11. 9:44Common pitfalls to avoid
  12. 13:01Lack of inheritance strategy
  13. 14:07Static methods and utilities
  14. 15:30Future extensibility
  15. 16:22Separation of concerns
  16. 18:52Avoiding monolithic structures
  17. 19:53Data segmentation strategies
  18. 20:35Java’s object-oriented nature
  19. 22:01Single responsibility principle
  20. 23:27Encapsulation best practices
  21. 24:56Immutability advantages
  22. 26:28Composition over inheritance
  23. 28:00Proper data segmentation
  24. 29:23Interface-driven design
  25. 30:50Performance optimization techniques
  26. 34:25Memory leak prevention
  27. 35:08Persistence and database mismatch
  28. 36:35Eclipse Store introduction
  29. 40:33Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.