Multiple ChoiceHard 45s
Specification pattern reuse
What is the primary strength of the Specification pattern?
Options
- 1It couples business rules to the persistence layer so queries stay efficient
- 2It generates database indexes automatically from the domain object metadata
- 3It replaces the need for entities by storing rules directly as table columns
- 4It encapsulates a business rule as a composable, reusable predicate on domain objects
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.