r/learnjava • • May 15 '21

Design pattern practice

I've recently got an internship position working on Web applications using Java and Spring. The only design patterns that I know are Singleton, MVC, DAO and Observer.

Any suggestions of other Design Patterns used in this industry, maybe some documentation with practice examples that I can implement myself?

Thanks in advance!

54 Upvotes

11 comments sorted by

View all comments

3

u/mw52588 May 15 '21

Another great design pattern is builder pattern. It just further simplifies the creation of objects especially when dealing with massive DTO/DAO objects that can easily have 20+ fields in it. Also, not really a design pattern but Lombok really helps with this design pattern.