adspace


What is dao and dto in spring?

Answer Posted / Arpita Gupta

In Spring, DAO (Data Access Object) is a class responsible for performing database operations, while DTO (Data Transfer Object) is used to transfer data between different layers or components. DTOs often don't have any business logic and are simple Java objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy class?

490


What is difference between @controller and @restcontroller in spring?

556


How can you inject java collection in spring?

518