What is dao and dto in spring?



What is dao and dto in spring?..

Answer / 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

More Spring Framework Interview Questions

What is the scope of spring beans?

1 Answers  


What is spring rest?

1 Answers  


What is spring mvc used for?

1 Answers  


What is the function of annotation @requestbody?

1 Answers  


What is spring stereotype annotations?

1 Answers  


What is a framework? Explain the spring framework.

1 Answers  


What is a dependency code?

1 Answers  


What is root context?

1 Answers  


What is the benefit of dependency injection?

1 Answers  


Does spring perform weaving at compile time?

1 Answers  


What are spring beans?

1 Answers  


What are the modules of spring framework?

1 Answers  


Categories