I’m starting to program in Java (with the Spring Framework) and finding myself confused about the difference between DAOs and Spring’s Beans. Do they serve to the same purpose?
I’m starting to program in Java (with the Spring Framework) and finding myself confused
Share
DAO == Data Access Object. It’s one way to write a persistence layer.
Spring can manage DAO beans and lots of other kinds, like message-driven beans, services, web controllers, and anything else you can encapsulate into a bean.
Spring has three parts: