This is my current project design
Controller-> service -> Repository
Service layer contains the business logic, Repository contains SQL Native query.
Now i am trying to understand which one layer i can add between service and repository for manipulation of data which I am getting from DB.
I am trying to understand :
What layer(Name) i can create between Controller-> service if in
case i need to have layer which can be composition of services.
What layer I can create between service -> Repository .
If i am having Respository Layer can i also keep DAO layer.
Leave an answer