Overview
Explore the pitfalls of overusing annotations in Java development and discover alternative approaches in this 49-minute Devoxx conference talk. Delve into common issues like code bloat, ineffective testing, slow development cycles, and the fear of refactoring. Learn how excessive reliance on annotations can lead to frustration and hinder productivity. Examine the speaker's argument that annotations have become the "GOTO of the 21st century" and investigate potential solutions. Gain insights into dependency injection techniques, the Cake pattern, lazy services, and improved testing strategies. Consider the speaker's perspective on database internals, aspect-oriented programming, and the limitations of JPA. Equip yourself with knowledge to critically evaluate annotation usage and explore alternative design patterns for more maintainable and efficient Java applications.
Syllabus
Introduction
Polish Stack Overflow
Magic Service
Dependency Injections
Lifecycle
Mappers
Encapsulation
Solution
Dependency injection
Cake pattern
Lazy service
Ratpack
Testing
Build a wall
Injection
Testing only marks
Is database internal
Aspect
Good annotations
Problems with JPA
Resources
Limitations
Taught by
Devoxx